From f100ce6cc49ffa84852d308b7aa23dd34061ef1d Mon Sep 17 00:00:00 2001 From: jorgep Date: Wed, 26 Feb 2025 13:38:01 +0100 Subject: [PATCH] refactor: refs #8484 add data-cy attribute for claim photo image and update test to use it --- src/pages/Claim/Card/ClaimPhoto.vue | 1 + test/cypress/integration/claim/claimPhoto.spec.js | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/pages/Claim/Card/ClaimPhoto.vue b/src/pages/Claim/Card/ClaimPhoto.vue index d4acc9bbe..23e1b1a0b 100644 --- a/src/pages/Claim/Card/ClaimPhoto.vue +++ b/src/pages/Claim/Card/ClaimPhoto.vue @@ -227,6 +227,7 @@ function onDrag() { class="rounded-borders cursor-pointer fit" @click="openDialog(media.dmsFk)" v-if="!media.isVideo" + data-cy="claimPhoto_img" >