Skip to content

Commit

Permalink
Fix create user e2e test after invite user UI changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jardakotesovec committed Feb 25, 2025
1 parent aff4585 commit 4e23daa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/support/commands_new_workflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -939,8 +939,8 @@ Cypress.Commands.add('inviteUser', user => {
cy.contains('div > a > span', 'Users & Roles').click();
cy.waitJQuery();
cy.contains('button', 'Invite to a role').click();
cy.get('#-email-control').click();
cy.get('#-email-control').type(user.username + '@mailinator.com');
cy.get('#-search-control').click();
cy.get('#-search-control').type(user.username + '@mailinator.com');
cy.get('.bg-primary').click();
cy.get('select[name="userGroupId"]').select(user.roles);
cy.get('#-dateStart-control').type(currentDate);
Expand Down

0 comments on commit 4e23daa

Please sign in to comment.