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
parent
commit
e93ccca823
No known key found for this signature in database GPG Key ID: 45FAE7268762B400
  1. 2
      cypress/e2e/login/login.cy.ts

2
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

Loading…
Cancel
Save