fix: refs #8484 rollback
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Jorge Penadés 2025-02-26 13:40:31 +01:00
parent f100ce6cc4
commit 8a8233b82f
2 changed files with 3 additions and 2 deletions

View File

@ -227,7 +227,6 @@ function onDrag() {
class="rounded-borders cursor-pointer fit" class="rounded-borders cursor-pointer fit"
@click="openDialog(media.dmsFk)" @click="openDialog(media.dmsFk)"
v-if="!media.isVideo" v-if="!media.isVideo"
data-cy="claimPhoto_img"
> >
</QImg> </QImg>
<video <video

View File

@ -23,7 +23,9 @@ describe('ClaimPhoto', () => {
}); });
it('should open first image dialog change to second and close', () => { it('should open first image dialog change to second and close', () => {
cy.dataCy('claimPhoto_img').click(); cy.get(':nth-child(1) > .q-card > .q-img > .q-img__container > .q-img__image')
.as('firstImage')
.click();
cy.get('.q-carousel__slide > .q-img > .q-img__container > .q-img__image').should( cy.get('.q-carousel__slide > .q-img > .q-img__container > .q-img__image').should(
'be.visible', 'be.visible',
); );