~/talk

End to End testing with Playwright

Talkat ViteConf 2023 · 2023-10-05..10-06· [testing, web-platform]
slides:none on file

Live demo shows using Playwright to record a test in minutes against the Stackblitz site, opening a Vite project inside an iframe, editing code to set a counter to 5, clicking to increment to 10, copying the share URL and loading it in a new incognito browser context to verify changes. Playwright auto-waits for loading, generates an iframe locator, supports assertions (expect visible count === 10), and isolates tests so the end-to-end flow works reliably.

AI-written summary · about

  1. 0:00Introduction to Playwright
  2. 1:50Live demo setup
  3. 3:13Recording a test
  4. 6:44Running test in UI mode
  5. 8:28Testing cross-browser contexts
  6. 10:15Adding assertions
  7. 12:43Debugging failed tests
  8. 14:05End-to-end user flow test
  9. 14:48Community and resources
~/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.