How to combine POMs (Page Object Models) with Playwright Fixtures for better developer experience

How to combine POMs (Page Object Models) with Playwright Fixtures for better developer experience

Apr 3, 2024

Page object models (POM) are common to encapsulate test automation logic and improve code readability. Learn in this video how to combine POMs and Playwright fixtures for effective end-to-end testing and synthetic monitoring with an excellent developer experience.

Learn more about Playwright fixtures in this video: https://www.youtube.com/watch

Got questions? Join the Checkly community Slack. And tune in next week for more on Playwright, Synthetic Monitoring, and API Monitoring. Happy testing!

Checkly Community Slack: https://www.checklyhq.com/slack/
Page Object Models in Playwright: https://playwright.dev/docs/pom
Playwright fixtures: https://playwright.dev/docs/test-fixtures

0:00 Intro

0:35 Page Object Model example

2:18 Downsides of Page Object Models

2:45 The dream of a perfect Page Object Model setup

3:19 Playwright fixtures explained

3:40 Implementing Playwright fixtures

6:44 Outro

#playwright #checkly #testing #monitoring