~/talk

Testing with Playwright in an AI-Assisted Development World

Talkat Frontend Nation 2024 · 2024-06-04..06-07· [testing, ai-assisted-development]
slides:none on file

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

  1. 0:00Introduction to Playwright
  2. 0:43Key Playwright features
  3. 3:18Using GitHub Copilot
  4. 5:24Building with AI assistance
  5. 7:30Recording automated tests
  6. 10:27Cross-browser testing
  7. 12:52Debugging and fixing tests
  8. 15:29Final thoughts on testing
~/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.