Skip to content

Commit 3e6d18a

Browse files
committed
fix(files_sharing): fix view only actions button selector
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
1 parent 569f235 commit 3e6d18a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cypress/e2e/files_sharing/public-share/view_view-only.cy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
33
* SPDX-License-Identifier: AGPL-3.0-or-later
44
*/
5-
import { getActionsForFile, getRowForFile, navigateToFolder } from '../../files/FilesUtils.ts'
5+
import { getActionButtonForFile, getRowForFile, navigateToFolder } from '../../files/FilesUtils.ts'
66
import { openSharingPanel } from '../FilesSharingUtils.ts'
77

88
describe('files_sharing: Public share - View only', { testIsolation: true }, () => {
@@ -85,7 +85,7 @@ describe('files_sharing: Public share - View only', { testIsolation: true }, ()
8585
})
8686

8787
it('Only download action is actions available', () => {
88-
getActionsForFile('foo.txt')
88+
getActionButtonForFile('foo.txt')
8989
.should('be.visible')
9090
.click()
9191

0 commit comments

Comments
 (0)