From 67a5800a6668af882d976182272706176776dc98 Mon Sep 17 00:00:00 2001 From: alexm Date: Wed, 20 Nov 2024 07:57:45 +0100 Subject: [PATCH] fix: logout spec --- test/cypress/integration/outLogin/logout.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); }); });