fix: refs #8041 update redirection from preview to summary in ShelvingList tests
gitea/salix-front/pipeline/pr-dev This commit is unstable Details

This commit is contained in:
BENJAMIN ESTEVE DIAZ CANO 2025-03-07 08:09:17 +01:00
parent 281ecc49f5
commit 98da599f76
1 changed files with 2 additions and 2 deletions

View File

@ -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', () => {