Lia Moreira: Playwright - Fun with fixtures
summary
Shows how Playwright fixtures replace repetitive setup by wiring TypeScript page objects into custom fixtures that perform login navigation and expose methods for main page item, item detail and cart actions on a dummy site. Demo runs tests that add and remove an item and logs fixture lifecycle proving fixtures run before and after each. Covers nesting fixtures, no large performance penalty versus alternatives, and notes Playwright CT is experimental while Playwright enables parallel runs and multiple languages.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 1:30What is Playwright
- 2:31Understanding fixtures
- 6:30Basic test demo
- 10:44Page objects for readability
- 13:55Custom fixture step-by-step
- 20:42Refactoring with fixtures
- 27:01Demo results
- 31:09Cat trivia fun
- 32:14Q&A
related talks
27mPlaying your tests wright
14mAdvanced Playwright Techniques for flawless testing
51mAdvanced Playwright Techniques for Flawless Testing
01h 31mAdvanced Playwright with AI
25mPlaywright Test Runner
13mComponent Testing with Playwright for Vue
16me2e testing with Playwright
39mTesting Web Applications with Playwright
