Browse Source
fix(cypress): Fix selector for the user menu button
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/41110/head
Ferdinand Thiessen
3 years ago
No known key found for this signature in database
GPG Key ID: 45FAE7268762B400
1 changed files with
1 additions and
1 deletions
-
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
|
|
|
|
|