~/talk

Lia Moreira: Playwright - Fun with fixtures

Talkat TestCon Europe 2024 · 2024-10-22..10-25· [testing, javascript]
slides:none on file

Shows how Playwright fixtures replace repetitive setup by wiring TypeScript page objects into custom fixtures that perform login navigation and expose methods for main page item, item detail and cart actions on a dummy site. Demo runs tests that add and remove an item and logs fixture lifecycle proving fixtures run before and after each. Covers nesting fixtures, no large performance penalty versus alternatives, and notes Playwright CT is experimental while Playwright enables parallel runs and multiple languages.

AI-written summary · about

  1. 0:00Introduction
  2. 1:30What is Playwright
  3. 2:31Understanding fixtures
  4. 6:30Basic test demo
  5. 10:44Page objects for readability
  6. 13:55Custom fixture step-by-step
  7. 20:42Refactoring with fixtures
  8. 27:01Demo results
  9. 31:09Cat trivia fun
  10. 32:14Q&A
~/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.