diff --git a/test/cypress/integration/claim/claimPhoto.spec.js b/test/cypress/integration/claim/claimPhoto.spec.js index 6ea1fd8b7..9b2978b19 100755 --- a/test/cypress/integration/claim/claimPhoto.spec.js +++ b/test/cypress/integration/claim/claimPhoto.spec.js @@ -21,8 +21,7 @@ describe('ClaimPhoto', () => { cy.get('.q-notification__message').should('have.text', 'Data saved'); }); - /* it.skip('should open first image dialog change to second and close', () => { - skiped fix on https://redmine.verdnatura.es/issues/7113 + it('should open first image dialog change to second and close', () => { cy.get( ':nth-child(1) > .q-card > .q-img > .q-img__container > .q-img__image' ).click(); @@ -38,19 +37,23 @@ describe('ClaimPhoto', () => { cy.get('.q-carousel__slide > .q-img > .q-img__container > .q-img__image').should( 'not.be.visible' ); - }); */ + }); it('should remove third and fourth file', () => { cy.get( '.multimediaParent > :nth-child(3) > .q-btn > .q-btn__content > .q-icon' ).click(); - cy.get('.q-btn--unelevated > .q-btn__content > .block').click(); + cy.get( + '.q-card__actions > .q-btn--unelevated > .q-btn__content > .block' + ).click(); cy.get('.q-notification__message').should('have.text', 'Data deleted'); cy.get( '.multimediaParent > :nth-child(3) > .q-btn > .q-btn__content > .q-icon' ).click(); - cy.get('.q-btn--unelevated > .q-btn__content > .block').click(); + cy.get( + '.q-card__actions > .q-btn--unelevated > .q-btn__content > .block' + ).click(); cy.get('.q-notification__message').should('have.text', 'Data deleted'); }); });