Browse Source

test(cypress): corrections post merger of view & table list

Signed-off-by: Raju Udava <sivadstala@gmail.com>
pull/847/head
Raju Udava 3 years ago
parent
commit
9eeab55fc0
  1. 4
      scripts/cypress/support/commands.js

4
scripts/cypress/support/commands.js

@ -300,7 +300,7 @@ Cypress.Commands.add("openViewsTab", (vn, rc) => {
cy.task("log", `[openViewsTab] ${vn} ${rc}`); cy.task("log", `[openViewsTab] ${vn} ${rc}`);
cy.get(".nc-project-tree") cy.get(".nc-project-tree")
.find(".v-list-item__title:contains(Views)", { timeout: 10000 }) .find(".v-list-item__title:contains(Tables)", { timeout: 10000 })
.should("exist") .should("exist")
.first() .first()
.click(); .click();
@ -313,7 +313,7 @@ Cypress.Commands.add("openViewsTab", (vn, rc) => {
cy.get(`.project-tab`).contains(vn, { timeout: 10000 }).should("exist"); cy.get(`.project-tab`).contains(vn, { timeout: 10000 }).should("exist");
cy.get(".nc-project-tree") cy.get(".nc-project-tree")
.find(".v-list-item__title:contains(Views)", { timeout: 10000 }) .find(".v-list-item__title:contains(Tables)", { timeout: 10000 })
.first() .first()
.click(); .click();

Loading…
Cancel
Save