Testing with Playwright in an AI-Assisted Development World
summary
Demonstrates using GitHub Copilot to generate a Vue counter component and Playwright to install browsers, auto-generate a test with Codegen, run it in VS Code and debug with the trace viewer; the recorded test asserts increment, decrement and reset, runs across Chromium, WebKit and mobile Safari emulation (viewport 390×664) and initially shows “one test passed” then fails when the start value changes, which is fixed and re-runs successfully. Tests run in isolation and parallel and traces include DOM snapshots and network details for quick debugging.
AI-written summary · about
chapters (8)
- 0:00Introduction to Playwright
- 0:43Key Playwright features
- 3:18Using GitHub Copilot
- 5:24Building with AI assistance
- 7:30Recording automated tests
- 10:27Cross-browser testing
- 12:52Debugging and fixing tests
- 15:29Final thoughts on testing
related talks
28mTesting Web Applications with Playwright
20mComponent Testing with Playwright
13mComponent Testing with Playwright for Vue
51mTesting Web Applications with Playwright
30mTesting Web Applications with Playwright
16mEnd to End testing with Playwright
20mTesting Web Applications with Playwright
51mAdvanced Playwright Techniques for Flawless Testing
