March 14, 2024, 2:47 p.m. | Debbie O'Brien

DEV Community dev.to

Tags are used to filter tests in the HTML report, UI Mode, or VSCode extension. It's also possible to filter them with the CLI by using --grep - so you can e.g. only run a subset of tests locally or on CI.


In Playwright's version 1.42, we introduced a new syntax for tags.





Update to the latest version of Playwright


To update to the latest version of Playwright run the following command:



npm install -D @playwright/test@latest


Also …

cli e2e extension filter html playwright report syntax tagging tags testing tests them update vscode

Software Engineer for AI Training Data (School Specific)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Python)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Tier 2)

@ G2i Inc | Remote

Data Engineer

@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania

Artificial Intelligence – Bioinformatic Expert

@ University of Texas Medical Branch | Galveston, TX

Lead Developer (AI)

@ Cere Network | San Francisco, US