mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
fix(files_sharing): fix view only actions button selector
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
This commit is contained in:
parent
569f235560
commit
3e6d18aaf6
1 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue