fix(files): fix flaky cypress files test

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ 2023-09-01 18:24:05 +02:00
parent e1112c93ec
commit 2a31bc7fd3
No known key found for this signature in database
GPG key ID: 60C25B8C072916CF

View file

@ -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)
})
})