Skip to content

Commit

Permalink
Fix sometimes failed tests problem (#7732)
Browse files Browse the repository at this point in the history
  • Loading branch information
novda committed Apr 9, 2024
1 parent 462b923 commit efbafe9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Cypress.Commands.add('logout', () => {
cy.get('.cvat-header-menu-user-dropdown-user').click();
cy.get('span[aria-label="logout"]').click();
cy.url().should('include', '/auth/login');
cy.clearAllCookies();
cy.visit('/auth/login');
cy.url().should('not.include', '?next=');
cy.contains('Sign in').should('exist');
Expand Down

0 comments on commit efbafe9

Please sign in to comment.