Testing: Add a way to simulate slow network or CPU in e2e tests #15677
Labels
Needs Dev
Ready for, and needs developer efforts
[Status] In Progress
Tracking issues with work in progress
[Type] Automated Testing
Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.
[Type] Enhancement
A suggestion for improvement.
Related #15538, #14986.
We constantly encounter issues with tests which fail randomly. It's more noticeable on Travis. It's usually difficult to reproduce those failures locally but it turns out that we can simulate slow network or CPU with Puppeteer API. I opened an issue argos-ci/jest-puppeteer#241 to see whether it'd be a good idea to include such debugging tools into
jest-puppeteer
. If it gets rejected we should integrate it into our e2e test setup ourselves.Full proposal:
argos-ci/jest-puppeteer#241.
Example of debugging code used with other PRs in the past:
The text was updated successfully, but these errors were encountered: