End-to-end Testing with Cypress Series: 07 DRY for Speed @TestDouble
End-to-end Testing with Cypress Series: 07 DRY for Speed  @TestDouble
Uploaded April 2022 | Updated September 2026, 2 weeks ago
In this video, learn how creating similar Cypress tests can slow down your end-to-end test suite. Find out how to measure the runtime of your end-to-end test suite, consolidate similar Cypress tests to speed up your test suite, and learn the tradeoffs between combining end-to-end tests and keeping them separate.

Chapters
00:00 Intro
00:09 Recap of previous video
00:19 Learning goals for this video
00:39 Reminder instructions for running demo app and Cypress test suite
00:51 Identifying another user scenario for a happy path end-to-end test
01:22 Copy and paste a previous end-to-end test for the new test
01:30 Use `it.only` to temporarily only run the new test
01:37 Modify pasted Cypress test for the new user scenario under test
02:16 Save file to verify new happy path test runs successfully
02:29 Reminder that end-to-end tests are slow
02:43 Use `it.only` to additionally run the previous “update task” test
02:59 Analyzing Cypress end-to-end test suite runtime
03:23 How slow end-to-end tests impact developer productivity and builds
03:39 How to balance testing all user scenarios with the quantity of end-to-end tests
03:50 Identifying duplicated paths in similar end-to-end tests
04:26 Create a combined end-to-end test
05:08 Save file to verify combined happy path Cypress test runs successfully
05:18 Why combined happy path tests help speed up end-to-end test suites
05:37 Remove previous similar end-to-end tests and remove `it.only`
05:44 Recapping what you learned
06:15 Conclusion and next video teaser

Find out more about Test Double at link.testdouble.com/more-info
End-to-end Testing with Cypress Series: 07 DRY for SpeedWhat the heck is test concrete?Meet Test Double consultantsHow to Stop Hating Your Tests (Justin Searls)Theres Nothing.new Under the Sun (Justin Searls)What truly defines legacy code?How Strava was built  on GPS + leaderboardsBuilding for the individual, not the platformLogical organized view for agentsHow to Trust AgainThe misconception that software tests slow you downForecasting the Future: Intro to Machine Learning in Ruby (RailsConf 2023)
Test Double |

End-to-end Testing with Cypress Series: 07 DRY for Speed

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER