aboutsummaryrefslogtreecommitdiffstats
path: root/cypress
diff options
context:
space:
mode:
authorskjnldsv <skjnldsv@protonmail.com>2024-10-26 15:29:53 +0200
committerskjnldsv <skjnldsv@protonmail.com>2024-10-29 09:10:56 +0100
commit3e6d18aaf63fe6ca350d4def240de39682af614f (patch)
tree91393f7c7ce089590761fa945407780ce747cf6c /cypress
parent569f23556066f9a8ddc682bc920ff57b73a15051 (diff)
downloadnextcloud-server-3e6d18aaf63fe6ca350d4def240de39682af614f.tar.gz
nextcloud-server-3e6d18aaf63fe6ca350d4def240de39682af614f.zip
fix(files_sharing): fix view only actions button selectorfeat/files-bulk-tagging
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Diffstat (limited to 'cypress')
-rw-r--r--cypress/e2e/files_sharing/public-share/view_view-only.cy.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/cypress/e2e/files_sharing/public-share/view_view-only.cy.ts b/cypress/e2e/files_sharing/public-share/view_view-only.cy.ts
index 4a8aa6b89a3..709908f8f6c 100644
--- a/cypress/e2e/files_sharing/public-share/view_view-only.cy.ts
+++ b/cypress/e2e/files_sharing/public-share/view_view-only.cy.ts
@@ -2,7 +2,7 @@
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
-import { getActionsForFile, getRowForFile, navigateToFolder } from '../../files/FilesUtils.ts'
+import { getActionButtonForFile, getRowForFile, navigateToFolder } from '../../files/FilesUtils.ts'
import { openSharingPanel } from '../FilesSharingUtils.ts'
describe('files_sharing: Public share - View only', { testIsolation: true }, () => {
@@ -85,7 +85,7 @@ describe('files_sharing: Public share - View only', { testIsolation: true }, ()
})
it('Only download action is actions available', () => {
- getActionsForFile('foo.txt')
+ getActionButtonForFile('foo.txt')
.should('be.visible')
.click()