diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2025-04-29 11:00:10 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2025-04-29 11:00:10 +0200 |
commit | 28ec569b7f115742214659a06d82a4d70ed00b1a (patch) | |
tree | 41bddf1e0a298d193f1566c408a6d5fb3ebf2749 | |
parent | f9b6b88d5ce4fbd69bafea63b350c1cb0f3c8465 (diff) | |
download | nextcloud-server-fix/fix-cypress-note-to-recipient.tar.gz nextcloud-server-fix/fix-cypress-note-to-recipient.zip |
fix(cypress): Use visit instead of reload to avoid cypress errorfix/fix-cypress-note-to-recipient
Not 100% clear why the reload makes it flaky, but it seems related.
My only guess is that with reload the details panel is already opened
maybe?
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
-rw-r--r-- | cypress/e2e/files_sharing/note-to-recipient.cy.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cypress/e2e/files_sharing/note-to-recipient.cy.ts b/cypress/e2e/files_sharing/note-to-recipient.cy.ts index b950e0aec9e..c99a6ebd788 100644 --- a/cypress/e2e/files_sharing/note-to-recipient.cy.ts +++ b/cypress/e2e/files_sharing/note-to-recipient.cy.ts @@ -72,7 +72,7 @@ describe('files_sharing: Note to recipient', { testIsolation: true }, () => { createShare('folder', sharee.userId, { read: true, download: true, note: 'Hello, this is the note.' }) // reload just to be sure - cy.reload() + cy.visit('/apps/files') // open the sharing tab openSharingPanel('folder') |