question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tests run slower when upgrading from Cypress version 6.9.0 to 8.2.0

See original GitHub issue

Current behavior

Tests take 17+ minutes when we upgraded to v8.2.0, they took 7 minutes with version 6.9.0 when I use Cypress run. This happens when running on CI, with Electron 89 (headless)

Desired behavior

Tests should run equally fast with all Cypress versions.

Test code to reproduce

I can’t share the code, but it’s a react app with 310 tests so far 😅

Cypress Version

8.2.0

Other

I’ve tried setting videoCompression to 0 to reduce compression quality, and also I’ve tried disabling video recording altogether, both didn’t work and tests are still slow.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:11
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
itayodcommented, Feb 16, 2022

I upgraded from 6.** to 9.4.0 that slowed down my e2e by 70%ish 😦

3reactions
GlebkaFcommented, Oct 1, 2021

I’ve upgraded from 8.0 to 8.5.0, and the execution time for all the tests increased for 1.5. From 8 to 12 minutes.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Changelog - Cypress Documentation
Fixed an issue with Angular Component Testing where urls within SASS/SCSS files were not being correctly resolved which could result in incomplete styling....
Read more >
Migration Guide | Cypress Documentation
Migrating to Cypress 12.0 This guide details the changes and how to change your code to migrate to Cypress version 12.0.
Read more >
What's New with Cypress Web Testing?
Fast, easy and reliable testing for anything that runs in a browser. Install Cypress in seconds and take the pain out of front-end...
Read more >
Troubleshooting | Cypress Documentation
Run the same tests in both Electron and Chrome, then compare the ... The Chrome browser is evergreen - meaning it will automatically...
Read more >
Command Line - Cypress Documentation
What you'll learn How to run Cypress from the command line How to specify which spec files to run How to launch other...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found