Skip to content

Commit

Permalink
fix timing problems
Browse files Browse the repository at this point in the history
  • Loading branch information
clean-coder authored and peggimann committed Oct 30, 2024
1 parent 429fb7d commit 89b8328
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/cypress/e2e/teammanagement.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,11 +267,10 @@ describe('Team management tests', () => {
beforeEach(() => {
cy.loginAsUser(users.bl);
cy.getByTestId('team-management').click();
cy.intercept('GET', '**/users/*').as('getEsha');
});

it('should check if correct roles for BL are set', () => {
cy.intercept('GET', '**/users/*').as('getEsha');

cy.get('td').contains(nameEsha).click();
cy.wait('@getEsha');

Expand Down

0 comments on commit 89b8328

Please sign in to comment.