summaryrefslogtreecommitdiffstats
path: root/cypress
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2023-10-25 12:15:18 +0200
committerFerdinand Thiessen <opensource@fthiessen.de>2023-10-25 12:15:18 +0200
commite93ccca8230db9d1b43aeb67e9aaba87b2662d8e (patch)
tree7e80daa1fcb3bf3c9d985853b06ac3a1285e3023 /cypress
parent20b14ae7acc55c1ce630372450a6ffab1b91fce4 (diff)
downloadnextcloud-server-e93ccca8230db9d1b43aeb67e9aaba87b2662d8e.tar.gz
nextcloud-server-e93ccca8230db9d1b43aeb67e9aaba87b2662d8e.zip
fix(cypress): Fix selector for the user menu button
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'cypress')
-rw-r--r--cypress/e2e/login/login.cy.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cypress/e2e/login/login.cy.ts b/cypress/e2e/login/login.cy.ts
index 1383d803ad0..133e56e0256 100644
--- a/cypress/e2e/login/login.cy.ts
+++ b/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