Browse Source

test: disable toast validation for metasync (kludge)

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/1027/head
Raju Udava 3 years ago
parent
commit
ed29fdd93d
  1. 3
      scripts/cypress/support/page_objects/mainPage.js

3
scripts/cypress/support/page_objects/mainPage.js

@ -448,7 +448,6 @@ export class _mainPage {
cy.get(".nc-btn-metasync-sync-now") cy.get(".nc-btn-metasync-sync-now")
.should("exist") .should("exist")
.click({ force: true }); .click({ force: true });
cy.toastWait(`Table metadata recreated successfully`);
cy.get(".nc-metasync-row").then((row) => { cy.get(".nc-metasync-row").then((row) => {
for (let i = 0; i < row.length; i++) { for (let i = 0; i < row.length; i++) {
cy.wrap(row).contains("No change identified").should("exist"); cy.wrap(row).contains("No change identified").should("exist");
@ -458,7 +457,7 @@ export class _mainPage {
// cy.get(`.nc-metasync-row-${tbl}`) // cy.get(`.nc-metasync-row-${tbl}`)
// .contains("No change identified") // .contains("No change identified")
// .should("exist"); // .should("exist");
// cy.toastWait(`Table metadata recreated successfully`);
// cy.get(`.nc-metasync-row-${tbl}`).should("exist"); // cy.get(`.nc-metasync-row-${tbl}`).should("exist");
} }
} }

Loading…
Cancel
Save