Merge pull request #41110 from nextcloud/fix/login-cypress-test

fix(cypress): Fix selector for the user menu button
This commit is contained in:
Ferdinand Thiessen 2023-10-25 14:23:49 +02:00 committed by GitHub
commit ed45e2600b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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