-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Speed up e2e execution in CI #3480
Comments
Consider using an admin API key to perform api calls. See #3746 |
I was able to bring the end-to-end tests execution time down to between <5mins (best case) and <10mins (worst case) by activating parallelization (to 4 machines) and by adding more caching to the workflow runs. An example run can be seen in my fork here: In order to use parallelization in cypress, we need a paid account. However, it seems like there are cheaper plans for open source projects. @johanstokking @htdvisser please share your thought about whether you think this is worth pursuing. |
The paid account has now been setup. |
Summary
Currently, e2e tests already take ~16minutes to execute (~21mins with several end device e2e tests, see #3065). Taking into account that most of the console/oauth app is still lacking any tests. Later with more e2e tests CI pipeline will take even more time.
Why do we need this?
Make sure we do not end up with long CI execution because of e2e tests.
What is already there? What do you see now?
A bunch of e2e tests and e2e workflow that executes all tests on almost any PR.
What is missing? What do you want to see?
Reduced CI time for e2e tests execution.
How do you propose to implement this?
js:build
target Speed up frontend builds #2661cy.loginConsole
to avoid going through the whole oauth flow to get the auth token. Fix flaky e2e tests #3978How do you propose to test this?
CI
Can you do this yourself and submit a Pull Request?
yes
The text was updated successfully, but these errors were encountered: