aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh <josh.t.richards@gmail.com>2025-07-29 11:41:06 -0400
committerGitHub <noreply@github.com>2025-07-29 11:41:06 -0400
commit63e2210ce6e7dee6b2923e653f35d5ae0c7085cc (patch)
tree60f3d450244a11f88ed0317211f9ff4502f770ea
parentb8ad6d091a6a4cfdf5becab0b8b6af833fc89a9b (diff)
downloadnextcloud-server-jtr-ci-flakey-cypress-note-test.tar.gz
nextcloud-server-jtr-ci-flakey-cypress-note-test.zip
ci: try to fix flakey note-to-recipient.cy.tsjtr-ci-flakey-cypress-note-test
Signed-off-by: Josh <josh.t.richards@gmail.com>
-rw-r--r--cypress/e2e/files_sharing/note-to-recipient.cy.ts8
1 files changed, 3 insertions, 5 deletions
diff --git a/cypress/e2e/files_sharing/note-to-recipient.cy.ts b/cypress/e2e/files_sharing/note-to-recipient.cy.ts
index 8bca696e95c..0ddc34160a9 100644
--- a/cypress/e2e/files_sharing/note-to-recipient.cy.ts
+++ b/cypress/e2e/files_sharing/note-to-recipient.cy.ts
@@ -3,7 +3,7 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import type { User } from '@nextcloud/cypress'
-import { createShare, openSharingPanel } from './FilesSharingUtils.ts'
+import { createShare, openSharingDetails, openSharingPanel } from './FilesSharingUtils.ts'
import { navigateToFolder } from '../files/FilesUtils.ts'
describe('files_sharing: Note to recipient', { testIsolation: true }, () => {
@@ -76,11 +76,9 @@ describe('files_sharing: Note to recipient', { testIsolation: true }, () => {
// open the sharing tab
openSharingPanel('folder')
+ openSharingDetails(0)
- cy.get('[data-cy-sidebar]').within(() => {
- // Open the share
- cy.get('[data-cy-files-sharing-share-actions]').first().click({ force: true })
-
+ cy.get('[#app-sidebar-vue]').within(() => {
cy.findByRole('checkbox', { name: /note to recipient/i })
.and('be.checked')
cy.findByRole('textbox', { name: /note to recipient/i })