Getting Started with E2E Tests for True CI/CD
summary
Compares Nightwatch and Cypress and selects TestCafe with an Electron plugin to run E2E across Chrome, Firefox, Safari, IE and mobile. Describes a CI design using self-hosted Mac/Windows/Linux runners where PRs trigger tests via client polling a server and results are posted back as PR comments, and uses Docker Compose to spin up isolated MySQL instances for each test. Notes tests take ~15 minutes, require ~30% of development time to maintain due to fragile UI selectors, but caught regressions during a backend rewrite and enabled safe frequent deploys.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 3:20Software testing overview
- 8:11E2E tests overview
- 10:30CI/CD and E2E tests
- 15:40Choosing E2E testing tools
- 20:26Building test infrastructure
- 23:33Writing E2E test code
- 28:42Running real-world tests
- 31:53Refactoring tests
- 33:43Backend performance
- 35:51Challenges in E2E testing
- 37:41Maintaining tests
- 38:49E2E testing value
related talks
18mModern Solutions for e2e testing
33mCypress: The future of E2E testing
35mCypress Tales: Effective E2E Testing
50mShip Web Apps Confidently: End-to-End Testing with Cypress
26mTales from the QA crypt
16mE2E Test Automation Framework Selection | Comparing with Pros & Cons
30mTesting Tools and Their Friends
49mTestCafé: Web Testing Made Easy!
