~/talk

Component Testing with Playwright

Talkat ViteConf 2022 · 2022-10-11..10-12· [testing]
slides:none on file

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

  1. 0:00Introduction to Playwright
  2. 0:48Installation and setup
  3. 2:26Debugging and locators
  4. 4:13Web-first assertions
  5. 6:15Code generation for tests
  6. 10:03Component testing
  7. 15:45Tracing and reporting
  8. 17:56CI integration and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.