From c9c2331ba75c9413813b403cd39f311bd3ad23ae Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 12 Mar 2024 11:03:43 +0100 Subject: [PATCH] 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 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 --- cypress.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/cypress.config.ts b/cypress.config.ts index ace1bcb273..f2c3619efa 100644 --- a/cypress.config.ts +++ b/cypress.config.ts @@ -5,6 +5,7 @@ export default defineConfig({ screenshotsFolder: "t/cypress/screenshots", videosFolder: "t/cypress/videos", defaultCommandTimeout: 10000, + requestTimeout: 10000, e2e: { setupNodeEvents(on, config) { -- 2.39.5