Anthony Roberts 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							71c43693ac 
							
						 
					 
					
						
						
							
							feat(reporter): add copy button for annotations ( #31790 )  
						
						... 
						
						
						
						Adds a copy-to-clipboard button for each annotation so that text can be
copied easily.
This re-uses the existing `CopyToClipboard` component and adds a `small`
variant that can be used inline. The icon size and colour have been
chosen to avoid being overwhelming when used inline.
Related to #30141  
I opted not to introduce the hover behaviour from #30749  as it's less
discoverable, but can understand why that might be favourable. Certainly
open to suggestions 😄 
<img width="379" alt="Screenshot 2024-07-22 at 3 23 53 PM"
src="https://github.com/user-attachments/assets/3b9998cf-2e8d-40c9-9c8a-64eab3a9ed2e "> 
						
						
					 
					
						2024-09-16 07:57:11 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Knott 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cf8c14f884 
							
						 
					 
					
						
						
							
							feat(html reporter): open html attachments in new tab ( #32389 )  
						
						... 
						
						
						
						Closes https://github.com/microsoft/playwright/issues/32281 .
HTML attachments get a linkified name that opens the attachment in a new
tab. 
						
						
					 
					
						2024-09-02 08:35:53 +02:00 
						 
				 
			
				
					
						
							
							
								Simon Knott 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b599335404 
							
						 
					 
					
						
						
							
							chore(ui): enable react/recommended lint rules ( #32214 )  
						
						... 
						
						
						
						Closes https://github.com/microsoft/playwright/issues/32159 . I
originally set out to enable Strict Mode for our React UI, but found a
way better thing: Enabling the lint rules we had already installed!
`eslint-plugin-react` is already in of our `package.json`, and this PR
enables it and fixes some of the reported issues. Most of them are
around the `key` prop which is mostly about performance, but there's
also fixes for misspelled `data-testid` props. 
						
						
					 
					
						2024-08-20 14:16:28 +02:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0d575b4ef6 
							
						 
					 
					
						
						
							
							chore: less 'as any' in html-reporter ( #32117 )  
						
						... 
						
						
						
						Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Simon Knott <info@simonknott.de> 
						
						
					 
					
						2024-08-12 15:17:42 +02:00 
						 
				 
			
				
					
						
							
							
								Simon Knott 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c8cc4f9c8b 
							
						 
					 
					
						
						
							
							chore(ui): update to react 18 ( #32079 )  
						
						... 
						
						
						
						Part of https://github.com/microsoft/playwright/issues/31863 . Updates
most of our React usage to React 18. `recorder` doesn't seem to like it
yet. I suspect that some of our code isn't compatible with concurrent
mode, i've investigated that in
https://github.com/microsoft/playwright/pull/32101 .
---------
Signed-off-by: Simon Knott <info@simonknott.de>
Co-authored-by: Max Schmitt <max@schmitt.mx> 
						
						
					 
					
						2024-08-12 13:50:11 +02:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							47714d6559 
							
						 
					 
					
						
						
							
							feat(ui-mode): add annotations tab ( #31945 )  
						
						... 
						
						
						
						<img width="867" alt="image"
src="https://github.com/user-attachments/assets/7d714723-1d3f-49b2-944a-0a476d79aee8 ">
---------
Signed-off-by: Dmitry Gozman <dgozman@gmail.com>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com> 
						
						
					 
					
						2024-08-01 03:43:29 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Knott 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							99724d0322 
							
						 
					 
					
						
						
							
							refactor(ui): some react refactorings ( #31900 )  
						
						... 
						
						
						
						Addresses https://github.com/microsoft/playwright/issues/31863 . This PR
is chonky, but the individual commits should be easy to review. If
they're not, i'm happy to break them out into individual PRs.
There's two main things this does:
1. Remove some unused imports
2. Add a `clsx`-inspired helper function for classname templating
I wasn't able to replace `ReactDOM.render` with `ReactDOM.createRoot`.
This is the new recommended way starting with React 18, and the existing
one is going to be deprecated at some point. But it somehow breaks our
tests, i'll have to investigate that separately. 
						
						
					 
					
						2024-07-31 12:12:06 +02:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							44ce6096bb 
							
						 
					 
					
						
						
							
							feat(html-reporter): add Playwright logo as Favicon ( #31908 )  
						
						
						
						
					 
					
						2024-07-30 12:02:06 +02:00 
						 
				 
			
				
					
						
							
							
								Simon Knott 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4d4ed2a5c4 
							
						 
					 
					
						
						
							
							chore: enforce single quotes in JSX ( #31855 )  
						
						... 
						
						
						
						Discovered in
https://github.com/microsoft/playwright/pull/31852#discussion_r1691133106 :
We're not enforcing single quotes for JSX, and it shows! We need to
start enforcing it to prevent even greater damage from being done ;D 
						
						
					 
					
						2024-07-25 13:06:26 +02:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3f15fe8518 
							
						 
					 
					
						
						
							
							feat(reporter): links in attachment names, attachments name only ( #31714 )  
						
						... 
						
						
						
						* Allow calling `test.info().attach('My text');` without options (no
path nor body).
* Highlight links in attachment names:
<img width="992" alt="image"
src="https://github.com/user-attachments/assets/770e7876-3e43-4434-8cf1-194ad6ae5819 ">
Fixes https://github.com/microsoft/playwright/issues/31284  
						
						
					 
					
						2024-07-17 09:30:49 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							de39d227f7 
							
						 
					 
					
						
						
							
							chore: linkify urls in attachments body ( #31673 )  
						
						... 
						
						
						
						Reference: https://github.com/microsoft/playwright/issues/31284  
						
						
					 
					
						2024-07-15 12:20:22 -07:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a3b0f0cba8 
							
						 
					 
					
						
						
							
							chore: address deprecated Vite warnings ( #31618 )  
						
						
						
						
					 
					
						2024-07-10 22:32:08 +02:00 
						 
				 
			
				
					
						
							
							
								Vitaliy Potapov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1e55a084bc 
							
						 
					 
					
						
						
							
							feat(html-reporter): hide annotations started with "_" ( #31489 )  
						
						... 
						
						
						
						Fixes: https://github.com/microsoft/playwright/issues/30179  
						
						
					 
					
						2024-07-02 16:46:24 -07:00 
						 
				 
			
				
					
						
							
							
								Joe-Hendley 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a62260a9f2 
							
						 
					 
					
						
						
							
							feat(html report): linkify test annotations ( #31521 )  
						
						
						
						
					 
					
						2024-07-02 16:45:16 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							732e7393d3 
							
						 
					 
					
						
						
							
							Revert "feat(test): add URL field to annotations for hyperlink disp… ( #31259 )  
						
						... 
						
						
						
						…lay (#30665 )" 
						
						
					 
					
						2024-06-11 16:05:21 -07:00 
						 
				 
			
				
					
						
							
							
								amankagithub 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0e0b426e47 
							
						 
					 
					
						
						
							
							feat(html): filter test cases by annotation text in HTML report ( #30751 )  
						
						
						
						
					 
					
						2024-05-24 13:12:16 -07:00 
						 
				 
			
				
					
						
							
							
								오소현 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							165ecac5df 
							
						 
					 
					
						
						
							
							feat(test): add URL field to annotations for hyperlink display ( #30665 )  
						
						
						
						
					 
					
						2024-05-21 12:46:38 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b5dee9ecb7 
							
						 
					 
					
						
						
							
							feat(html): allow ctrl+clicking status ( #30556 )  
						
						
						
						
					 
					
						2024-04-26 10:50:20 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4fa1030af6 
							
						 
					 
					
						
						
							
							chore: hide skipped tests by default ( #30546 )  
						
						... 
						
						
						
						Fixes https://github.com/microsoft/playwright/issues/30540  
						
						
					 
					
						2024-04-25 12:48:41 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4514b7e3ed 
							
						 
					 
					
						
						
							
							chore: use original test ids in html report ( #30486 )  
						
						... 
						
						
						
						Fixes https://github.com/microsoft/playwright/issues/30430  
						
						
					 
					
						2024-04-23 14:28:27 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							16318ea715 
							
						 
					 
					
						
						
							
							chore: remove unused botName from types ( #30172 )  
						
						
						
						
					 
					
						2024-03-28 16:16:15 -07:00 
						 
				 
			
				
					
						
							
							
								Shriphad Rao 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							82804cce64 
							
						 
					 
					
						
						
							
							fix: time in ms for skip test ( #30078 )  
						
						... 
						
						
						
						Fixes https://github.com/microsoft/playwright/issues/29861  
						
						
					 
					
						2024-03-25 08:51:09 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ef924c14e7 
							
						 
					 
					
						
						
							
							chore: do not use project id in telereporter ( #29776 )  
						
						
						
						
					 
					
						2024-03-01 21:44:08 -08:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bd5403dcad 
							
						 
					 
					
						
						
							
							chore: remove --tag and tagFilter ( #29468 )  
						
						... 
						
						
						
						This makes new tags filtered by the `grep`. New `TestCase.tags` API now
includes both old and new tags. 
						
						
					 
					
						2024-02-15 11:37:16 -08:00 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b5e175e6e2 
							
						 
					 
					
						
						
							
							fix: tolerate wrongly-typed annotations ( #29162 )  
						
						... 
						
						
						
						Fixes https://github.com/microsoft/playwright/issues/29149  
						
						
					 
					
						2024-01-25 11:35:17 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							41c15cb176 
							
						 
					 
					
						
						
							
							chore: move vite root dir into template folder ( #29081 )  
						
						
						
						
					 
					
						2024-01-23 09:40:05 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f5c57d0e98 
							
						 
					 
					
						
						
							
							chore: reuse image diff component in trace/html ( #28727 )  
						
						... 
						
						
						
						Fixes https://github.com/microsoft/playwright/issues/28685  
						
						
					 
					
						2023-12-22 10:17:35 -08:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f88288d71d 
							
						 
					 
					
						
						
							
							feat: config.botName for describing environment in the reports ( #28507 )  
						
						... 
						
						
						
						Reference https://github.com/microsoft/playwright/issues/27284  
						
						
					 
					
						2023-12-06 13:34:16 -08:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							86c78c1e0f 
							
						 
					 
					
						
						
							
							fix(html): do not update total time when filtering tests ( #27808 )  
						
						... 
						
						
						
						
Fixes  #27758  
						
						
					 
					
						2023-10-26 08:20:14 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c8134bca5d 
							
						 
					 
					
						
						
							
							feat(html): show top-level errors ( #27763 )  
						
						... 
						
						
						
						Drive-by:
- extract `TestErrorView`;
- replace `data-test-id` with `data-testid` and `getByTestId()`.
---
<img width="1001" alt="top-level errors in html report"
src="https://github.com/microsoft/playwright/assets/9881434/2d6c0c52-8df1-46a9-b3fd-06ddc6f16796 "> 
						
						
					 
					
						2023-10-24 09:35:07 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							823b104a9e 
							
						 
					 
					
						
						
							
							feat(html): "copy to clipboard" for text attachments ( #27556 )  
						
						... 
						
						
						
						Mostly copied from trace viewer. Not reused due to different
colors/icons.
Screenshot:
<img width="999" alt="copy-to-clipboard"
src="https://github.com/microsoft/playwright/assets/9881434/2bb38442-3b8d-42ba-a3ed-4b9052b22854 "> 
						
						
					 
					
						2023-10-11 17:56:05 -07:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ce43ea7d99 
							
						 
					 
					
						
						
							
							chore: roll @zip.js/zip.js to 2.7.29 ( #27047 )  
						
						
						
						
					 
					
						2023-09-13 18:39:10 +02:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d0945192a4 
							
						 
					 
					
						
						
							
							feat: make it possible to filter by column in HTML report ( #27020 )  
						
						
						
						
					 
					
						2023-09-12 22:13:15 +02:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							54f36bee93 
							
						 
					 
					
						
						
							
							chore: make html report image attachment clickable ( #26978 )  
						
						
						
						
					 
					
						2023-09-11 08:44:00 +02:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							186f86905c 
							
						 
					 
					
						
						
							
							chore: make @playwright/test depend on playwright ( #26946 )  
						
						
						
						
					 
					
						2023-09-08 14:23:35 -07:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cb67427d56 
							
						 
					 
					
						
						
							
							chore: fix html-reporter/trace-viewer TSC errors ( #26813 )  
						
						
						
						
					 
					
						2023-08-31 18:08:38 +02:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							34c6197f9e 
							
						 
					 
					
						
						
							
							chore: include start/endTime and duration in onEnd report callback ( #26760 )  
						
						... 
						
						
						
						Fixes https://github.com/microsoft/playwright/issues/23637  
						
						
					 
					
						2023-08-29 10:56:21 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							39a6b23309 
							
						 
					 
					
						
						
							
							devops: create blob reports for all "tests 1" ( #26694 )  
						
						
						
						
					 
					
						2023-08-24 16:06:41 -07:00 
						 
				 
			
				
					
						
							
							
								Marcin Strzyz 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							192b697488 
							
						 
					 
					
						
						
							
							chore: remove old webpack folder structure ( #26560 )  
						
						
						
						
					 
					
						2023-08-19 16:16:44 -07:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4c4525c9e0 
							
						 
					 
					
						
						
							
							chore: make html report produce named attachments ( #26421 )  
						
						... 
						
						
						
						https://github.com/microsoft/playwright/issues/26326  
					
						2023-08-16 18:06:04 +02:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							27c15b705d 
							
						 
					 
					
						
						
							
							fix(blob): replace projectSuffix with reportName  ( #25017 )  
						
						... 
						
						
						
						Always ensure unique project/test ids across blobs.
Show `reportName` as a label in the html report.
References #24451 . 
						
						
					 
					
						2023-08-07 13:38:09 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							009f9994df 
							
						 
					 
					
						
						
							
							fix(html): mobile layout for filters ( #24506 )  
						
						
						
						
					 
					
						2023-07-31 16:54:07 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0409bfca56 
							
						 
					 
					
						
						
							
							chore: ensure module deps in ct-core ( #24056 )  
						
						... 
						
						
						
						Fixes https://github.com/microsoft/playwright/issues/23823  
						
						
					 
					
						2023-07-06 12:01:45 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							11770156eb 
							
						 
					 
					
						
						
							
							feat(html): show number of filtered tests, update total time ( #23743 )  
						
						
						
						
					 
					
						2023-06-16 09:22:57 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b9e7a91368 
							
						 
					 
					
						
						
							
							fix(html): fix the filter to respect status ( #23208 )  
						
						
						
						
					 
					
						2023-05-22 15:35:19 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							631edc9744 
							
						 
					 
					
						
						
							
							chore(internal): generate code in jsonl ( #23124 )  
						
						
						
						
					 
					
						2023-05-20 10:15:33 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							49370cb6fd 
							
						 
					 
					
						
						
							
							chore: fix file view padding ( #23166 )  
						
						
						
						
					 
					
						2023-05-19 11:07:49 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							37b2853b7b 
							
						 
					 
					
						
						
							
							chore: fix the test view mobile layout ( #23061 )  
						
						... 
						
						
						
						Fixes https://github.com/microsoft/playwright/issues/23036  
						
						
					 
					
						2023-05-16 12:47:37 -07:00 
						 
				 
			
				
					
						
							
							
								Alex Neo 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5bd5cea705 
							
						 
					 
					
						
						
							
							feat(html): describe labels ( #22870 )  
						
						
						
						
					 
					
						2023-05-08 18:59:01 -07:00