Use data attribute to determine current gallery photo in test

This commit is contained in:
2026-06-05 18:33:08 +04:00
parent 200100686d
commit d266bb92bd
2 changed files with 13 additions and 15 deletions

View File

@@ -21,7 +21,10 @@ const GalleryContent = <template>
{{@bindKeyboard @handleKeydown}}
>
{{! template-lint-disable no-invalid-interactive }}
<div class="photo-gallery-content">
<div
class="photo-gallery-content"
data-current-event-id={{@currentPhoto.eventId}}
>
<div class="actions-btn-container">
<DropdownMenu
@iconSize={{24}}