Bug 36012: Extend cypress's requestTimeout value
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 12 Mar 2024 10:03:43 +0000 (11:03 +0100)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 22 Mar 2024 14:07:36 +0000 (15:07 +0100)
commitc9c2331ba75c9413813b403cd39f311bd3ad23ae
tree662063416eac13b85cb6b36abb5c2a388f01ae5c
parent7054edf183dade99e6819b6c063dc34ccaf25a8c
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>
cypress.config.ts