https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38426

--- Comment #10 from Victor Grousset/tuxayo <[email protected]> ---
What's the issue with the Cypress tests?
I had a lot of flaky tests but by telling Cypress to retry they pass on the 1st
retry.
(Instead of rerunning them)

+++ b/cypress.config.ts
@@ -6,6 +6,7 @@ export default defineConfig({
     videosFolder: "t/cypress/videos",
     defaultCommandTimeout: 10000,
     requestTimeout: 10000,
+    retries: 2,

------------------------------------

Except UsageReports_spec.ts

     AssertionError: Timed out retrying after 10000ms: expected
'[{"erm_usage_muses.year":"2023","erm_usage_muses.report_type":"PR","erm_usage_muses.month":[1,2,3,4],"erm_usage_muses.metric_type":["Searches_Platform","Total_Item_Investigations","Total_Item_Requests","Unique_Item_Investigations","Unique_Item_Requests","Unique_Title_Investigations","Unique_Title_Requests"]}]'
to include '2022'
      at Context.eval
(webpack://koha/./t/cypress/integration/ERM/UsageReports_spec.ts:337:13)

With the screenshots of retries showing and empty table. "No data available in
the table"

------------------------------------

But that's not the topic as it happens with node 18,20 and 22.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to