diff --git a/test/cypress/integration/outLogin/logout.spec.js b/test/cypress/integration/outLogin/logout.spec.js index d6c33a65b..bcdacec78 100644 --- a/test/cypress/integration/outLogin/logout.spec.js +++ b/test/cypress/integration/outLogin/logout.spec.js @@ -28,7 +28,7 @@ describe('Logout', () => { }); it('when token not exists', () => { - cy.get('.q-list > [href="#/item"]').click(); + cy.get('.q-list').first().should('be.visible').click(); cy.checkNotification('Authorization Required'); }); });