summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2022-12-21 10:16:44 +0100
committerLouis (Rebase PR Action) <artonge@users.noreply.github.com>2023-01-26 10:12:23 +0000
commitfd9937a171c3dc0d8615e113ccc72f699ab2cd78 (patch)
tree99603a6727f6f75c1066751fed4c21e5217eafe1 /apps
parent305b1b6d2155fa2cd6e911a05ceae98950350226 (diff)
downloadnextcloud-server-fd9937a171c3dc0d8615e113ccc72f699ab2cd78.tar.gz
nextcloud-server-fd9937a171c3dc0d8615e113ccc72f699ab2cd78.zip
Add cypress tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps')
-rw-r--r--apps/files_versions/src/components/Version.vue3
-rw-r--r--apps/files_versions/src/views/VersionTab.vue2
2 files changed, 3 insertions, 2 deletions
diff --git a/apps/files_versions/src/components/Version.vue b/apps/files_versions/src/components/Version.vue
index 8aafabddfad..cde2f56edb4 100644
--- a/apps/files_versions/src/components/Version.vue
+++ b/apps/files_versions/src/components/Version.vue
@@ -20,7 +20,8 @@
<NcListItem class="version"
:title="versionLabel"
:href="downloadURL"
- :force-display-actions="true">
+ :force-display-actions="true"
+ data-files-versions-version>
<template #icon>
<img lazy="true"
:src="previewURL"
diff --git a/apps/files_versions/src/views/VersionTab.vue b/apps/files_versions/src/views/VersionTab.vue
index 5c078ea405b..f2e9576abd0 100644
--- a/apps/files_versions/src/views/VersionTab.vue
+++ b/apps/files_versions/src/views/VersionTab.vue
@@ -16,7 +16,7 @@
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<template>
- <ul>
+ <ul data-files-versions-versions-list>
<Version v-for="version in orderedVersions"
:key="version.mtime"
:version="version"