What Playing Wordle Can Teach Us About Web Testing
summary
Shows a complete, working Cypress end-to-end test that actually solves Wordle by reading the solution from localStorage, injecting the bundled word list via network stubbing, and freezing the page date with cy.clock to make runs deterministic. Tests simulate keyboard events, parse tile attributes for feedback, run on CI with parallelization, and send a screenshot email hint via Node. Demonstrates cy.intercept for bundle mutation and cy.clock for date control, and proves the approach works reliably.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 3:57Wordle as testing teacher
- 16:54Wordle with browser test
- 23:15Smarter Wordle algorithm
- 29:16Deterministic tests
- 34:15Email test results from CI
- 37:27Parallel tests on CI
- 40:38Key lessons from Wordle
related talks
50mShip Web Apps Confidently: End-to-End Testing with Cypress
27mFull-Circle Testing With Cypress
33mCypress: The future of E2E testing
47mEnd to End Testing with Cypress
57mGaining Confidence with Cypress Tests
29mEnd-to-end Testing Is Hard - But It Doesn't Have to Be
39mGaining Confidence with Cypress Tests
35mCypress Tales: Effective E2E Testing
