Shifting Left with Cypress: A Dev and QA Collaboration Story
summary
Shows a concrete pipeline: Cypress tests run on GitHub Actions with a premerge workflow and nightly runs, CI retries and Cypress Cloud artifacts; uses cy.intercept, cy.request and CI session for stability, plus custom commands and plugins to parallelize. Team enforces all tests must pass, QA approves every PR, and tests control their own state via programmatic control. Results: about 500 end-to-end tests, ~90% coverage, 15–16 minute runs and <2% flake; flaky tests >10/week auto-create tickets for investigation.
AI-written summary · about
chapters (20)
- 0:00Introduction to shifting left
- 1:24Defining shifting left
- 3:30Three themes of shifting left
- 5:13Starting from scratch at Madium
- 7:19Mindset over tools
- 9:06Building automation framework
- 11:12Automation maturity framework
- 11:32Phase one: Confidence
- 14:01Handling test flakiness
- 15:26Environmental stability
- 16:09Phase two: Pipeline integration
- 17:54Phase three: Scaling tests
- 18:14Writing tests faster
- 18:55Debugging with Cypress
- 20:00Running tests faster
- 21:46Phase four: Long-term feedback
- 23:11Results after a year and a half
- 23:54Key takeaways
- 25:36Celebrating wins
- 26:00Q&A: Overcoming resistance
