Module 7 of 8
Building a test framework
Why: A suite of 20 tests can live in one folder. A suite of 500 needs structure: shared setup, readable tests and a clear answer to ‘why did this fail?’.
Lessons
- Page objects, kept thin (20 min) - intermediate
- Page objects in depth: components and composition (25 min) - intermediate
- Fixtures with test.extend (20 min) - intermediate
- Test data that does not leak (15 min) - intermediate
- Tags, projects and parallelism (15 min) - intermediate
- Retries and flakiness (20 min) - intermediate
- Quiz: Building a test framework (10 min) - intermediate