nextcloud-server/cypress/e2e/files
Ferdinand Thiessen 7e2bea6550
test(cypress): Await promise in response to prevent timeout
The idea is to intercept the request,
then test the loading state,
and after the tests continue the request.

Problem here: `cy.intercept` has a timeout on the request-handler
which uses the same timeout as DOM assertions (4s) we could increase it,
but this also will increase DOM assertion timeout.

So instead we do not await in the request handler, but in the response handler.
This should use the response timeout which is much higher (30s).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-01 12:29:15 +07:00
..
FilesUtils.ts fix(files): Correctly check for already used names when creating new folder 2024-08-27 19:40:38 +07:00
drag-n-drop.cy.ts chore: Add SPDX header 2024-05-26 20:05:04 +07:00
files-download.cy.ts fix(files): Provide file actions from list entry to make it reactive 2024-08-01 01:54:42 +07:00
files-filtering.cy.ts test: Add cypress tests for file list filtering 2024-07-25 19:33:28 +07:00
files-renaming.cy.ts test(cypress): Await promise in response to prevent timeout 2024-09-01 12:29:15 +07:00
files-settings.cy.ts chore: Add SPDX header 2024-05-26 20:05:04 +07:00
files-sidebar.cy.ts fix(files): Close the sidebar on navigation 2024-07-15 11:34:05 +07:00
files-xml-regression.cy.ts chore: Add SPDX header 2024-05-26 20:05:04 +07:00
files.cy.ts chore: Add SPDX header 2024-05-26 20:05:04 +07:00
files_copy-move.cy.ts chore: Add SPDX header 2024-05-26 20:05:04 +07:00
files_sorting.cy.ts fix: Ensure displayname is a string 2024-07-25 01:24:26 +07:00
live_photos.cy.ts chore: Add SPDX header 2024-05-26 20:05:04 +07:00
new-menu.cy.ts fix(files): Correctly check for already used names when creating new folder 2024-08-27 19:40:38 +07:00
recent-view.cy.ts test: Add test for recent view 2024-08-01 14:17:48 +07:00