Component Testing with Playwright
summary
Installs via the VS Code extension or CLI, optionally adds GitHub Actions, and runs tests in parallel across Chromium, Firefox and WebKit; code gen records user actions into runnable tests that are then hardened with web‑first assertions and locator best practices (strict mode catches ambiguous selectors). Component testing uses Playwright CT with Vite to mount components in real browsers, supports global CSS imports, captures full traces and a Trace Viewer for stepwise debugging, and produces reports that CI can archive and replay.
AI-written summary · about
chapters (8)
- 0:00Introduction to Playwright
- 0:48Installation and setup
- 2:26Debugging and locators
- 4:13Web-first assertions
- 6:15Code generation for tests
- 10:03Component testing
- 15:45Tracing and reporting
- 17:56CI integration and conclusion
related talks
28mTesting Web Applications with Playwright
13mComponent Testing with Playwright for Vue
51mTesting Web Applications with Playwright
30mTesting Web Applications with Playwright
20mTesting Web Applications with Playwright
17mTesting with Playwright in an AI-Assisted Development World
39mTesting Web Applications with Playwright
16me2e testing with Playwright
