From 2a31bc7fd36b9ffaa1eec2ba42f74eec40c5f7c6 Mon Sep 17 00:00:00 2001 From: John Molakvoæ Date: Fri, 1 Sep 2023 18:24:05 +0200 Subject: fix(files): fix flaky cypress files test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ --- cypress/e2e/files.cy.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cypress') 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) }) }) -- cgit v1.2.3