From 1e8dddc351f99ac284654a1c86faebd1ce7b238a Mon Sep 17 00:00:00 2001 From: skjnldsv Date: Sat, 26 Oct 2024 15:29:53 +0200 Subject: [PATCH] fix(files_sharing): fix view only actions button selector Signed-off-by: skjnldsv --- cypress/e2e/files_sharing/public-share/view_view-only.cy.ts | 4 ++-- 1 file 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 4a8aa6b89a391..709908f8f6cc0 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()