diff --git a/cypress/e2e/login/login.cy.ts b/cypress/e2e/login/login.cy.ts index 1383d803ad0..133e56e0256 100644 --- a/cypress/e2e/login/login.cy.ts +++ b/cypress/e2e/login/login.cy.ts @@ -137,7 +137,7 @@ describe('Login', () => { cy.url().should('match', /apps\/dashboard(\/|$)/) // When click logout - cy.get('#user-menu button').should('exist').click() + cy.get('#user-menu > button').should('exist').click() cy.get('#logout a').should('contain.text', 'Log out').click() // Then I see that the current page is the Login page