From e93ccca8230db9d1b43aeb67e9aaba87b2662d8e Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Wed, 25 Oct 2023 12:15:18 +0200 Subject: [PATCH] fix(cypress): Fix selector for the user menu button Signed-off-by: Ferdinand Thiessen --- cypress/e2e/login/login.cy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/e2e/login/login.cy.ts b/cypress/e2e/login/login.cy.ts index 1383d803ad0d1..133e56e025658 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