Browse Source

test(cypress): suite/views align with UI changes

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/962/head
Raju Udava 3 years ago
parent
commit
09ea176925
  1. 4
      scripts/cypress/integration/common/4f_grid_view_share.js
  2. 5
      scripts/cypress/support/page_objects/mainPage.js

4
scripts/cypress/integration/common/4f_grid_view_share.js

@ -117,7 +117,9 @@ export const genTest = (type, xcdb) => {
.its("length") .its("length")
.should("eq", 1) .should("eq", 1)
.then(() => { .then(() => {
cy.get(".v-overlay__content > .d-flex > .v-icon").click(); // cy.get(".v-overlay__content > .d-flex > .v-icon").click();
// close modal (fix me! add a close button to share view list modal)
cy.get('.v-overlay--active > .v-overlay__scrim').click({force: true});
}); });
}); });

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

@ -357,9 +357,12 @@ export class _mainPage {
} }
}) })
.then(() => { .then(() => {
cy.get(".v-overlay__content > .d-flex > .v-icon").click();
cy.toastWait("Deleted shared view successfully"); cy.toastWait("Deleted shared view successfully");
// close modal
cy.get('.v-overlay--active > .v-overlay__scrim').click({force: true});
}); });
}; };
// download CSV & verify // download CSV & verify

Loading…
Cancel
Save