playwright/packages/html-reporter/src
Dmitry Gozman 3331a40647
feat(test runner): tags/annotations (#29248)
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.
2024-02-07 16:31:25 -08:00
..
chip.css chore: include start/endTime and duration in onEnd report callback (#26760) 2023-08-29 10:56:21 -07:00
chip.spec.tsx chore: do not use docker for "Web Components" tests (#20339) 2023-01-24 14:00:10 -08:00
chip.tsx feat(html): show top-level errors (#27763) 2023-10-24 09:35:07 -07:00
colors.css chore: move html report to package (#10898) 2021-12-13 16:38:26 -08:00
common.css chore: support dark theme in recorder & tv (#18389) 2022-10-27 16:50:41 -07:00
copyToClipboard.css feat(html): "copy to clipboard" for text attachments (#27556) 2023-10-11 17:56:05 -07:00
copyToClipboard.tsx feat(html): "copy to clipboard" for text attachments (#27556) 2023-10-11 17:56:05 -07:00
DEPS.list chore: ensure module deps in ct-core (#24056) 2023-07-06 12:01:45 -07:00
filter.ts feat(test runner): tags/annotations (#29248) 2024-02-07 16:31:25 -08:00
headerView.css chore: revert sharded html report (#20923) 2023-02-15 12:38:03 -08:00
headerView.spec.tsx chore: fix html-reporter/trace-viewer TSC errors (#26813) 2023-08-31 18:08:38 +02:00
headerView.tsx fix(html): mobile layout for filters (#24506) 2023-07-31 16:54:07 -07:00
icons.tsx feat(html): "copy to clipboard" for text attachments (#27556) 2023-10-11 17:56:05 -07:00
images.ts chore: move html report to package (#10898) 2021-12-13 16:38:26 -08:00
index.tsx chore: roll @zip.js/zip.js to 2.7.29 (#27047) 2023-09-13 18:39:10 +02:00
labelUtils.tsx feat(test runner): tags/annotations (#29248) 2024-02-07 16:31:25 -08:00
links.css feat(html): "copy to clipboard" for text attachments (#27556) 2023-10-11 17:56:05 -07:00
links.tsx feat(html): "copy to clipboard" for text attachments (#27556) 2023-10-11 17:56:05 -07:00
loadedReport.ts chore: revert sharded html report (#20923) 2023-02-15 12:38:03 -08:00
metadataView.tsx feat(html): show top-level errors (#27763) 2023-10-24 09:35:07 -07:00
reportView.css chore(html-report): follow up ui fixes (#15599) 2022-07-13 12:49:11 -07:00
reportView.tsx feat(html): show number of filtered tests, update total time (#23743) 2023-06-16 09:22:57 -07:00
statusIcon.tsx feat(test runner): separate interrupted status from skipped (#16124) 2022-08-02 12:55:43 -07:00
tabbedPane.css chore: fix file view padding (#23166) 2023-05-19 11:07:49 -07:00
tabbedPane.tsx chore: move html report to package (#10898) 2021-12-13 16:38:26 -08:00
testCaseView.css chore: fix file view padding (#23166) 2023-05-19 11:07:49 -07:00
testCaseView.spec.tsx feat(test runner): tags/annotations (#29248) 2024-02-07 16:31:25 -08:00
testCaseView.tsx feat(test runner): tags/annotations (#29248) 2024-02-07 16:31:25 -08:00
testErrorView.css feat(html): show top-level errors (#27763) 2023-10-24 09:35:07 -07:00
testErrorView.tsx feat(html): show top-level errors (#27763) 2023-10-24 09:35:07 -07:00
testFilesView.tsx fix(html): do not update total time when filtering tests (#27808) 2023-10-26 08:20:14 -07:00
testFileView.css feat(html): added labels to test cases and test files (#21468) 2023-03-22 14:35:58 -07:00
testFileView.tsx feat(test runner): tags/annotations (#29248) 2024-02-07 16:31:25 -08:00
testResultView.css chore: reuse image diff component in trace/html (#28727) 2023-12-22 10:17:35 -08:00
testResultView.tsx chore: reuse image diff component in trace/html (#28727) 2023-12-22 10:17:35 -08:00
theme.css test: add component tests for html report (#10900) 2021-12-13 18:30:48 -08:00
treeItem.css chore: move html report to package (#10898) 2021-12-13 16:38:26 -08:00
treeItem.tsx chore: allow multiple image diffs (#13202) 2022-03-31 14:11:34 -07:00
types.ts feat(test runner): tags/annotations (#29248) 2024-02-07 16:31:25 -08:00
uiUtils.ts chore: move html report to package (#10898) 2021-12-13 16:38:26 -08:00
vite-env.d.ts chore: migrate html reporter to vite (#13116) 2022-03-28 18:21:19 -07:00