Bug 36012: Extend cypress's requestTimeout value

default to 5000 but tests are failing because of slow Jenkins's nodes.
We could try and extend to 10000 (10s) and see if it gets better.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Tests pass with and without the patch on my computer. Tested with:

yarn cypress run --env KOHA_USER=koha,KOHA_PASS=koha \
        --spec t/cypress/integration/ERM/Agreements_spec.ts

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Jonathan Druart 2024-03-12 11:03:43 +01:00 committed by Katrin Fischer
parent 7054edf183
commit c9c2331ba7
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834

View file

@ -5,6 +5,7 @@ export default defineConfig({
screenshotsFolder: "t/cypress/screenshots",
videosFolder: "t/cypress/videos",
defaultCommandTimeout: 10000,
requestTimeout: 10000,
e2e: {
setupNodeEvents(on, config) {