Slow starting cypress tests #26901
Unanswered
RobbeCl
asked this question in
Questions and Help
Replies: 1 comment 5 replies
-
@lmiller1990 do you have an idea what the problem could be? Thanks! :-) |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When running Cypress locally, everything runs blazingly fast, but in CI/CD the startup time takes around 4 minutes (consistently between chrome/firefox/electron headless).
We are using the docker image cypress/browsers:node18.12.0-chrome107. We are also using a strong AWS machine (t3a.2xlarge) so processing should be a problem I think. Besides that we are using an esbuild preprocessor.
Some logging info:
It hangs around 4 minutes and then prints "Run Starting" (with all the browser infromation + test suites). After it launches the browser (after 4 minutes) everyting runs fast and smooth. It just the startup-time which is slow. Behaviour is the same on e2e tests as component tests.
Could it be the esbuild preprocessing step which takes a long tome or is it something browser-related?
Beta Was this translation helpful? Give feedback.
All reactions