aboutsummaryrefslogtreecommitdiffstats
path: root/cypress
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2023-09-01 18:24:05 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-09-01 18:24:05 +0200
commit2a31bc7fd36b9ffaa1eec2ba42f74eec40c5f7c6 (patch)
treef04644f2ec8431e704c5129fd225c784df5c4dde /cypress
parente1112c93ec91bb74c37897058aacddcfa9a3219f (diff)
downloadnextcloud-server-2a31bc7fd36b9ffaa1eec2ba42f74eec40c5f7c6.tar.gz
nextcloud-server-2a31bc7fd36b9ffaa1eec2ba42f74eec40c5f7c6.zip
fix(files): fix flaky cypress files test
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'cypress')
-rw-r--r--cypress/e2e/files.cy.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/cypress/e2e/files.cy.ts b/cypress/e2e/files.cy.ts
index 9bdb05c8c72..490ddff2d0e 100644
--- a/cypress/e2e/files.cy.ts
+++ b/cypress/e2e/files.cy.ts
@@ -33,5 +33,7 @@ describe('Login with a new user and open the files app', function() {
it('See the default file welcome.txt in the files list', function() {
cy.visit('/apps/files')
cy.get('[data-cy-files-list] [data-cy-files-list-row-name="welcome.txt"]').should('be.visible')
+ // eslint-disable-next-line cypress/no-unnecessary-waiting -- Wait for all to finish loading
+ cy.wait(500)
})
})