|
|
@ -119,7 +119,9 @@ export class _mainPage { |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
// click on New User button, feed details
|
|
|
|
// click on New User button, feed details
|
|
|
|
cy.get("button.nc-invite-team").click(); |
|
|
|
cy.getActiveModal(".nc-modal-settings") |
|
|
|
|
|
|
|
.find("button.nc-invite-team") |
|
|
|
|
|
|
|
.click(); |
|
|
|
|
|
|
|
|
|
|
|
// additional wait to ensure the modal is fully loaded
|
|
|
|
// 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").should("exist"); |
|
|
@ -128,8 +130,12 @@ export class _mainPage { |
|
|
|
.should("exist"); |
|
|
|
.should("exist"); |
|
|
|
// cy.wait(1000);
|
|
|
|
// cy.wait(1000);
|
|
|
|
|
|
|
|
|
|
|
|
cy.get('input[placeholder="E-mail"]:visible').type(userCred.username); |
|
|
|
cy.getActiveModal(".nc-modal-invite-user-and-share-base") |
|
|
|
cy.get(".ant-select.nc-user-roles").click(); |
|
|
|
.find('input[placeholder="E-mail"]') |
|
|
|
|
|
|
|
.type(userCred.username); |
|
|
|
|
|
|
|
cy.getActiveModal(".nc-modal-invite-user-and-share-base") |
|
|
|
|
|
|
|
.find(".ant-select.nc-user-roles") |
|
|
|
|
|
|
|
.click(); |
|
|
|
|
|
|
|
|
|
|
|
// opt-in requested role & submit
|
|
|
|
// opt-in requested role & submit
|
|
|
|
// cy.getActiveSelection().contains(roleType).click({force: true});
|
|
|
|
// cy.getActiveSelection().contains(roleType).click({force: true});
|
|
|
|