mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00

API changes: - `test(title, details, body)` where details contain `tag` and `annotation`. - similar `details` property added to `test.skip`, `test.fail`, `test.fixme`, `test.only`, `test.describe` and other `test.describe.*` variations. - `TestProject.tagFilter`/`TestConfig.tagFilter` that supports logical tag expressions with `(`, `)`, `and`, `or` and `not`. - `--tag` CLI option to filter by tags. - New annotations are available in `TestInfo.annotations` and `TestCase.annotations`. - New tags are available in `TestCase.tags`. Reporter changes: - `json` reporter includes new tags in addition to old `@smoke`-style tags. **Breaking**: tags are now listed with the leading `@` symbol. - `html` reporter filters by old and new tags with the same `@smoke` token. Fixes #29229, fixes #23180.