Browse Source

test: add delay for user-role creation modal

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

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

@ -119,6 +119,13 @@ export class _mainPage {
// click on New User button, feed details
cy.get("button.nc-invite-team").click();
// additional wait to ensure the modal is fully loaded
cy.getActiveModal(".nc-modal-invite-user-and-share-base").should("exist");
cy.getActiveModal(".nc-modal-invite-user-and-share-base")
.find('input[placeholder="E-mail"]')
.should("exist");
cy.wait(1000);
cy.get('input[placeholder="E-mail"]').type(userCred.username);
cy.get(".ant-select.nc-user-roles").click();

Loading…
Cancel
Save