From e7a33360a62aa2ab180fc551c1b6ab93a336b56d Mon Sep 17 00:00:00 2001
From: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Date: Wed, 5 Apr 2023 10:03:21 +0200
Subject: [PATCH] Bug 33408: Extend defaultCommandTimeout for cypress

Sometimes the initial page load takes more than 4 seconds.

Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
---
 cypress.json | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/cypress.json b/cypress.json
index 248b6ab60d..e7b86b17d2 100644
--- a/cypress.json
+++ b/cypress.json
@@ -6,5 +6,6 @@
     "screenshotsFolder": "t/cypress/screenshots",
     "supportFile": "t/cypress/support",
     "videosFolder": "t/cypress/videos",
-    "testFiles": "**/*.*"
+    "testFiles": "**/*.*",
+    "defaultCommandTimeout": 10000
 }
-- 
2.40.0