Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix(files_sharing): fix view only actions button selector
Signed-off-by: skjnldsv <[email protected]>
  • Loading branch information
skjnldsv committed Oct 29, 2024
commit 3e6d18aaf63fe6ca350d4def240de39682af614f
4 changes: 2 additions & 2 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 @@ -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()

Expand Down