Skip to content

Commit

Permalink
fix(files_sharing): fix view only actions button selector
Browse files Browse the repository at this point in the history
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
  • Loading branch information
skjnldsv committed Oct 26, 2024
1 parent f16655b commit 9a86741
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cypress/e2e/files_sharing/public-share/view_view-only.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }, () => {
Expand Down Expand Up @@ -84,8 +84,8 @@ describe('files_sharing: Public share - View only', { testIsolation: true }, ()
.and('be.disabled')
})

it('Only download action is actions available', () => {
getActionsForFile('foo.txt')
it.only('Only download action is actions available', () => {
getActionButtonForFile('foo.txt')
.should('be.visible')
.click()

Expand Down

0 comments on commit 9a86741

Please sign in to comment.