Playwright Release 1.40 Includes Ability to Create Assertions Through Codegen Tool!
As mentioned last week, Playwright has released a new version with a cool feature for generating assertions. Here's another take on that by Butch Mayhew.
Making E2E Tests Harder, Better, Faster, and Stronger with Playwright
Ben Hammond describes how Playwright features helped them improve their test automation efficiency.
However, you might also want to see How Playwright compares to TestCafe, as Cerosh Jacob explains.
A Feature Map Framework with Playwright for Improved UI Testing Tracking
Butch Mayhew shows a handy way of assessing feature coverage with Playwright — a solution that can be applied to other test frameworks, too.
In relation to that, Maaret Pyhäjärvi tells us about Model-Based Testing in Python.
Comprehensive Playwright-Powered End-to-End Testing using Page Object Model
Balaji Kumarasamy created a helpful demo of setting up a test automation framework with Playwright. You can find the repository here.
Furthermore, Cerosh Jacob shows how to write Clean Test Cases Using Page Object Model (POM) in Playwright.
Improve test coverage by parameterising tests with Playwright and other tools
Mike Harris gives a helpful overview of the test parameterisation feature in various frameworks, using Playwright as an example.
Furthermore, Sergei Gapanovich shows A better way to control before and after blocks with test titles.
How to Monitor JavaScript Log Messages and Exceptions with Playwright
And if you're using Playwright with JavaScript, it can also help you find errors and exceptions in the console, as Nočnica Mellifera nicely explains.
Testing AI — How to create Automated Prompt Testing With Playwright
Wondering how to test the output of LLM-based apps? Stuart Thomas shows a few ways of achieving that with Playwright and TruLens.
Additionally, Linda Benboudiaf wrote a helpful guide to Mastering Prompt Engineering: Elevating QA Testing Automation with Contextual Examples.
A Simple and Effective E2E Test Architecture with Playwright and TypeScript
Wondering how you should design and structure your Playwright tests? Denis Skvortsov wrote a great overview with examples.
What's more, Matthew Thomas shows how to Detect and Handle Flaky Playwright Tests using the CTRF reporter.
Playwright with Allure Reporter published on AWS S3 Bucket — full parallelization
Looking for a robust reporting solution for your Playwright tests? Adrian Maciuc shows how to integrate Allure Report and store them in the cloud.
Furthermore, Cerosh Jacob wrote a helpful guide to Playwright's Retry Feature for Individual Test Steps.
A Simple and Effective E2E Test Architecture with Playwright and TypeScript
In this helpful example, Denis Skvortsov shows a good way of structuring your Playwright test automation project
And with the rising popularity of the tool, some are asking: Should I fight for Playwright?