From 377e31a4bcf162688bc64312f2e69171121a3fa8 Mon Sep 17 00:00:00 2001 From: provira Date: Tue, 4 Mar 2025 09:39:37 +0100 Subject: [PATCH] fix: refs #8417 fixed e2e test case --- test/cypress/integration/claim/claimPhoto.spec.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/cypress/integration/claim/claimPhoto.spec.js b/test/cypress/integration/claim/claimPhoto.spec.js index 324646a87..531819955 100755 --- a/test/cypress/integration/claim/claimPhoto.spec.js +++ b/test/cypress/integration/claim/claimPhoto.spec.js @@ -27,13 +27,12 @@ describe('ClaimPhoto', () => { it('should open first image dialog change to second and close', () => { cy.dataCy('file-1').click(); cy.get(carrouselClose).click(); - cy.get(carrousel).should('not.be.visible'); cy.dataCy('file-1').click(); cy.get(carrousel).should('be.visible'); cy.get('.q-carousel__control > button').as('nextButton').click(); - cy.get(carrouselClose,).click(); - cy.get(carrousel).should('not.be.visible'); + cy.get('.q-carousel__slide > .q-ma-none').should('be.visible'); + cy.get(carrouselClose).click(); }); it('should remove third and fourth file', () => {