Bugzilla – Attachment 163704 Details for
Bug 36012
ERM/Agreements_spec.ts might be failing if run too slow
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36012: Extend cypress's requestTimeout value
Bug-36012-Extend-cypresss-requestTimeout-value.patch (text/plain), 1.05 KB, created by
Tomás Cohen Arazi (tcohen)
on 2024-03-22 13:19:57 UTC
(
hide
)
Description:
Bug 36012: Extend cypress's requestTimeout value
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2024-03-22 13:19:57 UTC
Size:
1.05 KB
patch
obsolete
>From d61f59de808813b7c7b2057afd2cfe326065d37a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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 <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 >--- > 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36012
:
162207
|
163088
| 163704