From e1a54052975a3565b91a4143abafe22e9eb32d35 Mon Sep 17 00:00:00 2001 From: alexm Date: Wed, 9 Apr 2025 11:29:38 +0200 Subject: [PATCH] fix: cypress timeouts for improved test performance --- cypress.config.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/cypress.config.js b/cypress.config.js index 1dabccb75..8c623b26f 100644 --- a/cypress.config.js +++ b/cypress.config.js @@ -9,10 +9,10 @@ if (process.env.CI) { mochaFile: 'junit/e2e-[hash].xml', }; timeouts = { - defaultCommandTimeout: 15000, - requestTimeout: 15000, - responseTimeout: 30000, - pageLoadTimeout: 30000, + defaultCommandTimeout: 1500, + requestTimeout: 1500, + responseTimeout: 3000, + pageLoadTimeout: 3000, }; } else { urlHost = 'localhost'; @@ -26,10 +26,10 @@ if (process.env.CI) { inlineAssets: true, }; timeouts = { - defaultCommandTimeout: 5000, - requestTimeout: 5000, - responseTimeout: 15000, - pageLoadTimeout: 30000, + defaultCommandTimeout: 500, + requestTimeout: 500, + responseTimeout: 1500, + pageLoadTimeout: 3000, }; }