diff --git a/views/lib/components/files-storage/files-card.hbs b/views/lib/components/files-storage/files-card.hbs index e5796aa400..6ff4429655 100644 --- a/views/lib/components/files-storage/files-card.hbs +++ b/views/lib/components/files-storage/files-card.hbs @@ -11,7 +11,7 @@ tabindex="0" aria-label="{{$t "files.label.clickToOpenFile" (dict "name" this.name)}}" role="button"> -
+
@@ -37,7 +37,7 @@ data-file-name="{{../this.name}}" class="file-btn" data-method="download" - data-testid="file-download-btn" + data-testid="file-download-btn-{{../fileIndex}}" title="{{$t "files.label.downloadFile"}}"> @@ -48,13 +48,15 @@ data-file-id="{{../this.id}}" data-file-name="{{../this.name}}" title="{{$t "files.label.renameFile"}}" - class="file-btn fa fa-edit file-name-edit"> + class="file-btn fa fa-edit file-name-edit" + data-testid="file-rename-btn-{{../fileIndex}}"> {{/userHasPermission}} {{#userHasPermission "FILESTORAGE_REMOVE"}}