~/talk

Michal Slezak: Creating a Framework with Playwright - How to Do It Right?

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

Step‑by‑step recipe for a Playwright framework: TypeScript fixtures plus Page Object and Factory patterns, test data created by API not UI, and assertions kept out of page objects; a demo builds a Trello board via API, adds three cards, then moves them by drag‑and‑drop and the flow records successfully in Playwright’s Trace Viewer. Emphasizes parallelism and sharding to cut runtime (150 tests → ~8 minutes on 4 vCPUs), CI-ready reporting options (Playwright HTML, Allure, ReportPortal), and integrations like Percy, Lighthouse and Artillery.

AI-written summary · about

  1. 0:00Introduction
  2. 1:54What is Playwright
  3. 9:13Playwright framework design
  4. 13:27Page Object and Factory patterns
  5. 21:27Parallel test execution
  6. 25:48Trello test framework demo
  7. 30:58CI/CD and test stability
  8. 33:51Reporting and trace viewer
  9. 34:15Integrations and visual regression
  10. 37: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.