e2e testing with Playwright
summary
Demo shows how Playwright installs Chromium/Firefox/WebKit via the VS Code extension, generates tests with codegen, and uses locators like getByRole/getByLabel (inspired by Testing Library) so assertions check accessibility. Configuration uses storageState and project dependencies to run a login setup once for multiple browser projects. UI surface runs via npx playwright test --ui, exposes a Trace Viewer-like timeline, UI Mode with time travel debugging and automatic watch-mode replays for fast locator picking and fixes.
AI-written summary · about
chapters (7)
- 0:00Introduction to Playwright
- 1:08Installation and Setup
- 2:23Locating elements
- 3:57Test generation with Codegen
- 5:50Project dependencies
- 8:11UI mode and debugging
- 14:13Community and resources
related talks
20mTesting Web Applications with Playwright
51mTesting Web Applications with Playwright
30mTesting Web Applications with Playwright
28mTesting Web Applications with Playwright
39mTesting Web Applications with Playwright
20mComponent Testing with Playwright
41mTesting Web Applications with Playwright
35mState of end-to-end testing for modern web applications
