From 63ef21d78e336b708c7fbc87581367de3803bc5b Mon Sep 17 00:00:00 2001 From: jorgep Date: Wed, 26 Feb 2025 16:06:34 +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 | 14 ++++++++------ 2 files changed, 9 insertions(+), 6 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" >