Skip to content

Commit

Permalink
#8700 Fixed flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasraoni committed Apr 5, 2023
1 parent 3cd5705 commit 6e5e7b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ Cypress.Commands.add('assignParticipant', (role, name, recommendOnly) => {
cy.get('select[name=filterUserGroupId').select(role);
cy.get('input[id^="namegrid-users-userselect-userselectgrid-"]').type(names[1], {delay: 0});
cy.get('form[id="searchUserFilter-grid-users-userselect-userselectgrid"]').find('button[id^="submitFormButton-"]').click();
cy.waitJQuery();
cy.get('input[name="userId"]').click(); // Assume only one user results from the search.
if (recommendOnly) cy.get('input[name="recommendOnly"]').click();
cy.flushNotifications();
Expand Down

0 comments on commit 6e5e7b2

Please sign in to comment.