The incredible simplicity of automation in 2022
summary
Built an end-to-end automation suite for homes.co.nz (25,000,000 page views, ~1,000,000 monthly users) using Cypress and CI/CD tooling (Travis, Docker, Kubernetes), with real runs and reduced but not eliminated flakiness. Evidence: Cypress hits ~4,000,000 npm downloads/week while Playwright shows recent spikes over 1,000,000. Core specifics: tests run inside the browser, auto-waits for DOM and animations, time-travel snapshots for visual debugging, intercept-based mocking for stable data, and test retries plus dashboard analytics and screenshots/videos. Limitations include no Safari/IE support, limited iframes/popups, and no multi-tab testing.
AI-written summary · about
chapters (16)
- 0:00Introduction to automation
- 1:13Speaker's background
- 2:39Tool selection challenges
- 4:05Framework popularity trends
- 6:12Why Cypress stands out
- 7:37Cypress vs Selenium architecture
- 9:26Writing tests in Cypress
- 11:35Cypress installation ease
- 12:59Debugging in Cypress
- 14:26Mocking data in Cypress
- 15:50Handling flaky tests
- 17:19Cypress dashboard insights
- 18:45Cypress documentation
- 19:26Cypress limitations
- 21:15Conclusion on automation
- 22:16Q&A session
