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

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne

Senior Machine Learning Engineer (MLOps)

@ Promaton | Remote, Europe

#13721 - Data Engineer - AI Model Testing

@ Qualitest | Miami, Florida, United States

Elasticsearch Administrator

@ ManTech | 201BF - Customer Site, Chantilly, VA