From 67a5800a6668af882d976182272706176776dc98 Mon Sep 17 00:00:00 2001 From: alexm Date: Wed, 20 Nov 2024 07:57:45 +0100 Subject: [PATCH 1/2] 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'); }); }); From 3ba8402dfde616ec0a2a7430ad78acfccf62d755 Mon Sep 17 00:00:00 2001 From: alexm Date: Wed, 20 Nov 2024 08:01:50 +0100 Subject: [PATCH 2/2] fix: vnSearchbar spec --- test/cypress/integration/vnComponent/vnSearchBar.spec.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/cypress/integration/vnComponent/vnSearchBar.spec.js b/test/cypress/integration/vnComponent/vnSearchBar.spec.js index 580199bc3..b8621118c 100644 --- a/test/cypress/integration/vnComponent/vnSearchBar.spec.js +++ b/test/cypress/integration/vnComponent/vnSearchBar.spec.js @@ -5,6 +5,7 @@ describe('VnSearchBar', () => { const idGap = '.q-item > .q-item__label'; const vnTableRow = '.q-virtual-scroll__content'; beforeEach(() => { + cy.viewport(1280, 720); cy.login('developer'); cy.visit('#/customer/list'); });