From 3892848ca9086f144e03027ecec2de887a63d780 Mon Sep 17 00:00:00 2001 From: Muhammed Mustafa Date: Fri, 23 Sep 2022 18:21:41 +0530 Subject: [PATCH] fix(cypress): Added login logic in beforeAll in ERD tests --- scripts/cypress/integration/common/9b_ERD.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/cypress/integration/common/9b_ERD.js b/scripts/cypress/integration/common/9b_ERD.js index 77e477f6a2..be9c1aedb3 100644 --- a/scripts/cypress/integration/common/9b_ERD.js +++ b/scripts/cypress/integration/common/9b_ERD.js @@ -13,8 +13,8 @@ export const genTest = (apiType, dbType) => { describe(`${apiType.toUpperCase()} ERD`, () => { before(() => { - // loginPage.loginAndOpenProject(apiType, dbType); - // cy.openTableTab("Country", 25); + loginPage.loginAndOpenProject(apiType, dbType); + cy.openTableTab("Country", 25); projectId = getProjectString() cy.log('erd:getProjectString' + projectId) if (dbType === "postgres") { @@ -47,7 +47,7 @@ export const genTest = (apiType, dbType) => { // Test cases it(`Enable MM setting Open Table ERD`, () => { - cy.openTableTab("Country", 25); + // cy.openTableTab("Country", 25); mainPage.toggleShowMMSetting(); mainPage.openErdTab();