-
-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Investigate why Cypress tests often timeout (#520)
* troubleshoot /api/notif responses to investigate `JQMIGRATE: jQuery.parseJSON requires a valid JSON string` front-end errors before cypress tests time out * try workaround from cypress-io/cypress#2938 (comment) * Revert "try workaround from cypress-io/cypress#2938 (comment)" This reverts commit e7d605c. * track URLs of $.ajax() calls * urls are sometimes objects * add more logs and artifacts from cypress * try forcing JSON dataType on /api/notifs requests, to get rid of JQMIGRATE warnings e.g. https://github.com/openwhyd/openwhyd/runs/4574789313?check_suite_focus=true#step:8:220 * remove logs from /api/notif controller * disable verbose debug logs from cypress * try doubling cypress timeout thresholds * enable screenshots and video * reduce risk of failing call to /testing/reset before each test cf video recording: https://dashboard.cypress.io/projects/8mw8bh/runs/559/test-results/e214af35-c109-4513-a1dd-145a82fc7ef0/video
- Loading branch information
1 parent
58249a3
commit cf051e5
Showing
6 changed files
with
1,691 additions
and
1,672 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.