From d61f59de808813b7c7b2057afd2cfe326065d37a 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 --- cypress.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/cypress.config.ts b/cypress.config.ts index ace1bcb2730..f2c3619efa9 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.44.0