diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-09-01 12:29:15 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-09-01 12:29:15 +0200 |
commit | 7e2bea65509938791f8f10a5e3621ba2304e9552 (patch) | |
tree | 4aecf6ece1ef49b2bff978bad0f9f297d04f93ad /apps/dav | |
parent | 8dd169601d2890d4208f9d99760a6164ac6d1da8 (diff) | |
download | nextcloud-server-7e2bea65509938791f8f10a5e3621ba2304e9552.tar.gz nextcloud-server-7e2bea65509938791f8f10a5e3621ba2304e9552.zip |
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>
Diffstat (limited to 'apps/dav')
0 files changed, 0 insertions, 0 deletions