fix(cypress): Fix selector for the user menu button

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Ferdinand Thiessen 2023-10-25 12:15:18 +02:00
parent 20b14ae7ac
commit e93ccca823
No known key found for this signature in database
GPG key ID: 45FAE7268762B400

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