diff options
author | Vinicius Reis <vinicius.reis@nextcloud.com> | 2022-05-11 22:46:56 +0300 |
---|---|---|
committer | Vinicius Reis <vinicius.reis@nextcloud.com> | 2022-05-11 22:46:56 +0300 |
commit | 2ff0222818bed5e519cd05d739b82bb235da3a3d (patch) | |
tree | bcb6b908f900d413acac0a41490af885d6dfed22 /src | |
parent | a29f84a69b89a5c445e77dd333ddd01ab54c9efb (diff) |
✅ (#2338): add cypress tests
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/nodes/ImageView.vue | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nodes/ImageView.vue b/src/nodes/ImageView.vue index fd9e3de30..e02887afa 100644 --- a/src/nodes/ImageView.vue +++ b/src/nodes/ImageView.vue @@ -22,7 +22,10 @@ <template> <NodeViewWrapper> - <div class="image" :class="{'icon-loading': !loaded}" :data-src="src"> + <div class="image" + data-component="image-view" + :class="{'icon-loading': !loaded}" + :data-src="src"> <div v-if="imageLoaded && isSupportedImage" v-click-outside="() => showIcons = false" class="image__view" |