Skip to content

Commit

Permalink
Merge pull request #41110 from nextcloud/fix/login-cypress-test
Browse files Browse the repository at this point in the history
fix(cypress): Fix selector for the user menu button
  • Loading branch information
susnux authored Oct 25, 2023
2 parents 20b14ae + e93ccca commit ed45e26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/e2e/login/login.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ed45e26

Please sign in to comment.