Automatically Catch Failed HTTP Requests in your Playwright Tests!
In this video, Stefan (Playwright Ambassador) dives into his favorite topic, Playwright fixtures, and shows how to set up automatic network monitoring in your Playwright end-to-end tests to catch failed HTTP requests (404s, 500s) to maintain high-quality standards.
0:00 Intro
1:00 Explanation of a custom Playwright test runner setup
2:32 Implement a "pageWithMonitoring" fixture
6:03 Use test attachments to list failed requests in the Playwright test report
6:52 How to set up automatic fixtures
9:10 Outro
## Resources
Playwright Example Code: https://github.com/checkly/playwright-examples/
Checkly Playwright Monitoring: https://www.checklyhq.com/product/synthetic-monitoring/