diff --git a/test/cypress/integration/logout.spec.js b/test/cypress/integration/logout.spec.js index b35a8415a..af705223b 100644 --- a/test/cypress/integration/logout.spec.js +++ b/test/cypress/integration/logout.spec.js @@ -7,9 +7,7 @@ describe('Logout', () => { }); describe('by user', () => { it('should logout', () => { - cy.get( - '#user > .q-btn__content > .q-avatar > .q-avatar__content > .q-img > .q-img__container > .q-img__image' - ).click(); + cy.get('#user').click(); cy.get('.block').click(); }); });