From 98da599f76ff2bf9af9a39ac459306a76521eb9b Mon Sep 17 00:00:00 2001 From: benjaminedc Date: Fri, 7 Mar 2025 08:09:17 +0100 Subject: [PATCH] fix: refs #8041 update redirection from preview to summary in ShelvingList tests --- test/cypress/integration/shelving/shelvingList.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/cypress/integration/shelving/shelvingList.spec.js b/test/cypress/integration/shelving/shelvingList.spec.js index 745dd1b78..20b72e419 100644 --- a/test/cypress/integration/shelving/shelvingList.spec.js +++ b/test/cypress/integration/shelving/shelvingList.spec.js @@ -16,8 +16,8 @@ describe('ShelvingList', () => { it('should redirect from preview to basic-data', () => { cy.typeSearchbar('{enter}'); cy.dataCy('cardBtn').eq(0).click(); - cy.get('.q-card > .header').click(); - cy.url().should('include', '/shelving/1/basic-data'); + cy.get('.summaryHeader > .header > .q-icon').click(); + cy.url().should('include', '/shelving/1/summary'); }); it('should filter and redirect if only one result', () => {