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