Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							445fe032f5 
							
						 
					 
					
						
						
							
							feat(test runner): separate interrupted status from skipped ( #16124 )  
						
						
						
						
					 
					
						2022-08-02 12:55:43 -07:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a089bf3df5 
							
						 
					 
					
						
						
							
							chore(test-runner): better error message if page gets used inside beforeAll ( #16012 )  
						
						
						
						
					 
					
						2022-07-28 23:07:28 +02:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a94fe361a2 
							
						 
					 
					
						
						
							
							test: unflake a few tests ( #15959 )  
						
						
						
						
					 
					
						2022-07-27 11:27:53 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b86926e691 
							
						 
					 
					
						
						
							
							fix(test runner): update timeout error messages ( #15117 )  
						
						... 
						
						
						
						Some of the current timeout error messages are confusing, because they do not suggest that the issue is most likely a slow test. This PR updates timeout messages as follows:
- Test timeout of 30000ms exceeded.
- Test timeout of 30000ms exceeded while setting up "browser".
- Test timeout of 30000ms exceeded while tearing down "context".
- Test timeout of 30000ms exceeded while setting up "playwright configuration".
- Test timeout of 30000ms exceeded while running "beforeEach" hook.
- Test timeout of 30000ms exceeded while running "afterEach" hook.
- "beforeAll" hook timeout of 30000ms exceeded.
- "afterAll" hook timeout of 30000ms exceeded.
- Worker teardown timeout of 30000ms exceeded.
- "skip" modifier timeout of 30000ms exceeded.
- Fixture "myCustomFixture" timeout of 5000ms exceeded. 
						
						
					 
					
						2022-06-30 17:05:08 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							dc1d8dc3da 
							
						 
					 
					
						
						
							
							test: improve a few test runner tests that time out ( #15287 )  
						
						
						
						
					 
					
						2022-06-30 17:03:01 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9525bedc1f 
							
						 
					 
					
						
						
							
							feat(har): re-add routeFromHAR ( #15024 )  
						
						
						
						
					 
					
						2022-06-21 22:12:37 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5397394653 
							
						 
					 
					
						
						
							
							feature(har): add testOptions.har ( #14991 )  
						
						... 
						
						
						
						Can now be used with `test.use({ har })`.
Also added more tests for latest har features. 
						
						
					 
					
						2022-06-20 13:37:31 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							21d570f62e 
							
						 
					 
					
						
						
							
							test: update expectation after webkit roll ( #14718 )  
						
						
						
						
					 
					
						2022-06-08 12:46:39 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							738d5e5b3e 
							
						 
					 
					
						
						
							
							chore: pass fixture defaults different from falsy ( #14237 )  
						
						
						
						
					 
					
						2022-05-18 12:03:47 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d87de8c52c 
							
						 
					 
					
						
						
							
							fix(test runner): restore --headed flag ( #13872 )  
						
						
						
						
					 
					
						2022-05-02 16:55:14 +01:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							166675b9c1 
							
						 
					 
					
						
						
							
							feat(test): more information about timing out fixtures ( #13546 )  
						
						... 
						
						
						
						- Always show a fixture that was running during timeout.
- Give custom titles to built-in fixtures.
- Specify setup/teardown fixture phase in the message.
- Split connect vs launch browser fixtures for better naming.
Example timeout message:
```log
Timeout of 2000ms exceeded while running fixture "built-in playwright configuration" teardown.
``` 
						
						
					 
					
						2022-04-13 15:13:31 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bde7bf4ea9 
							
						 
					 
					
						
						
							
							chore: move registry & dispatchers to under server ( #13370 )  
						
						
						
						
					 
					
						2022-04-06 22:21:27 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							eb09306db2 
							
						 
					 
					
						
						
							
							feat(connect): add connectOptions.timeout ( #13163 )  
						
						
						
						
					 
					
						2022-03-29 15:03:43 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							92430cc56c 
							
						 
					 
					
						
						
							
							chore(fixtures): do not force-close contexts in beforeAll ( #12416 )  
						
						... 
						
						
						
						This now happens the same way as for the test, in the worker cleanup
when browser closes, which is reported as a part of the test. 
						
						
					 
					
						2022-03-09 07:26:46 -08:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6904b3294e 
							
						 
					 
					
						
						
							
							fix(test-runner): fix browser initialization in test modifiers ( #11984 )  
						
						... 
						
						
						
						Fixes  #11985  
					
						2022-02-09 15:30:14 -08:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ae7c52154f 
							
						 
					 
					
						
						
							
							fix(fixtures): make sure connected browser respects context options ( #11990 )  
						
						... 
						
						
						
						Connected browser was wired up to the wrong browserType object. 
						
						
					 
					
						2022-02-09 15:25:15 -08:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							19368e93af 
							
						 
					 
					
						
						
							
							feat(test runner): support connectOptions ( #11919 )  
						
						... 
						
						
						
						This allows to specify `connectOptions` in the config that
switch built-in `browser` to be remotely connected. 
						
						
					 
					
						2022-02-08 20:45:42 -08:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2336692e8a 
							
						 
					 
					
						
						
							
							feat: support clarification message for expect ( #11735 )  
						
						... 
						
						
						
						The clarification message is displayed in the HTML report as the name of the step:

It is also shown in terminal output:

Fixes  #7816  
						
						
					 
					
						2022-01-31 17:14:59 -08:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							30f3cbd6da 
							
						 
					 
					
						
						
							
							fix(fixtures): make sure defaultLaunchOptions are always there ( #11713 )  
						
						
						
						
					 
					
						2022-01-28 10:51:55 -08:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b1fbc4fdbe 
							
						 
					 
					
						
						
							
							fix(test runner): resolve tsconfig for each file ( #11662 )  
						
						... 
						
						
						
						This allows us to properly handle path mappings
that are not too ambiguous. 
						
						
					 
					
						2022-01-26 18:28:42 -08:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							19820de7a9 
							
						 
					 
					
						
						
							
							fix(test runner): correctly save videos when running remotely ( #11633 )  
						
						
						
						
					 
					
						2022-01-26 07:43:07 -08:00 
						 
				 
			
				
					
						
							
							
								Joel Einbinder 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							15053d9b3b 
							
						 
					 
					
						
						
							
							fix(test-runner): apply default options to all browserTypes ( #10507 )  
						
						
						
						
					 
					
						2021-11-29 12:21:15 -05:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b302152789 
							
						 
					 
					
						
						
							
							chore(zones): prepare to remove wrapApiCall, introduce zones ( #10427 )  
						
						
						
						
					 
					
						2021-11-18 22:30:09 -08:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8f43f4c98f 
							
						 
					 
					
						
						
							
							feat(serial): better errors from beforeAll ( #10419 )  
						
						... 
						
						
						
						When beforeAll hook times out or fails with an exception, we now
close the context and show a nice error. 
						
						
					 
					
						2021-11-18 14:36:55 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2e4722d460 
							
						 
					 
					
						
						
							
							test: migrate to upstream fixtures ( #9835 )  
						
						
						
						
					 
					
						2021-10-28 08:31:30 -07:00 
						 
				 
			
				
					
						
							
							
								Joel Einbinder 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f2888395a6 
							
						 
					 
					
						
						
							
							fix: support even older node 12 ( #9718 )  
						
						
						
						
					 
					
						2021-10-22 15:59:52 -04:00 
						 
				 
			
				
					
						
							
							
								Joel Einbinder 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							53c866c0f2 
							
						 
					 
					
						
						
							
							fix(monorepo): explicitly list package.json exports instead of using glob patterns ( #9584 )  
						
						
						
						
					 
					
						2021-10-19 12:28:02 -04:00 
						 
				 
			
				
					
						
							
							
								Joel Einbinder 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c89d5a50dd 
							
						 
					 
					
						
						
							
							chore: migrate to monorepo ( #9421 )  
						
						
						
						
					 
					
						2021-10-11 16:52:17 +02:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e674d873a3 
							
						 
					 
					
						
						
							
							feat(test-runner): add reuse context mode to share a single context between tests ( #9115 )  
						
						
						
						
					 
					
						2021-10-01 09:16:03 +02:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ed9b42a92d 
							
						 
					 
					
						
						
							
							feat(test runner): collect test error from worker teardown ( #9190 )  
						
						... 
						
						
						
						When the test fails (usually with timeout), we wait until all hooks are run
and worker scope is teared down before reporting test end result.
This allows us to collect any error details populated by teardown
in addition to the "timed out" message. 
						
						
					 
					
						2021-09-28 10:56:50 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							63ff405e6e 
							
						 
					 
					
						
						
							
							fix(inspector): stop on all snapshottable actions ( #8990 )  
						
						
						
						
					 
					
						2021-09-17 15:24:15 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bcb0c1745b 
							
						 
					 
					
						
						
							
							fix(waitForEventInfo): reply from the server side ( #8825 )  
						
						... 
						
						
						
						Otherwise, client thinks that `waitForEventInfo` is a pending operation. 
						
						
					 
					
						2021-09-09 21:20:26 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e5e461c0de 
							
						 
					 
					
						
						
							
							fix: use logger from config if specified ( #8697 )  
						
						
						
						
					 
					
						2021-09-03 14:21:25 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4f4cf448c2 
							
						 
					 
					
						
						
							
							fix(test runner): generate unique outputDir for beforeAll/afterAll ( #8633 )  
						
						
						
						
					 
					
						2021-09-01 13:41:35 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Rienstra 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ed0c47a06f 
							
						 
					 
					
						
						
							
							fix(test-runner): minor error message typo ( #8489 )  
						
						
						
						
					 
					
						2021-08-27 10:15:16 +02:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3bf3318350 
							
						 
					 
					
						
						
							
							fix(test runner): make sure options, trace and screenshot apply to all contexts ( #8083 )  
						
						... 
						
						
						
						- Uses some auto fixtures to set default options and instrumentation on BrowserType.
- Moves screenshot, trace and video to worker-scoped fixtures.
- Throws in page/context when used from beforeAll/afterAll.
- Plumbs around BrowserType to be accessible from Browser and BrowserContext. 
						
						
					 
					
						2021-08-09 18:09:11 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ea4f42b7ed 
							
						 
					 
					
						
						
							
							feat(report): add video to attachments ( #7976 )  
						
						
						
						
					 
					
						2021-08-03 17:07:57 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							dd0b089d13 
							
						 
					 
					
						
						
							
							feat(test runner): createContext fixture for multi-context scenarios ( #7779 )  
						
						
						
						
					 
					
						2021-07-29 14:03:58 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3f0485486d 
							
						 
					 
					
						
						
							
							feat(test runner): show errors from interrupted tests when available ( #7874 )  
						
						... 
						
						
						
						This shows the exact operation that is timing out (like click) when
user hits Ctrl+C. 
						
						
					 
					
						2021-07-28 15:43:37 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bf6482a58d 
							
						 
					 
					
						
						
							
							fix(test runner): do not override browserName when using without --browser ( #7806 )  
						
						
						
						
					 
					
						2021-07-23 09:04:20 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0742cb9076 
							
						 
					 
					
						
						
							
							chore: move working with browser channels to Registry Executables ( #7581 )  
						
						
						
						
					 
					
						2021-07-13 19:03:49 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							57c5e4d8cf 
							
						 
					 
					
						
						
							
							chore: replace Registry api with Executable list ( #7544 )  
						
						
						
						
					 
					
						2021-07-13 15:57:40 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							65606c093a 
							
						 
					 
					
						
						
							
							chore: simplify Registry api ( #7451 )  
						
						
						
						
					 
					
						2021-07-09 16:10:23 -07:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							103f8ddd06 
							
						 
					 
					
						
						
							
							Revert "chore: update eslint config ( #6840 )" partly ( #7268 )  
						
						... 
						
						
						
						This reverts commit ec7d37d92f4b6b75039d2343414237d2dbc84847. 
						
						
					 
					
						2021-06-23 11:08:35 +02:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							388c6f5196 
							
						 
					 
					
						
						
							
							feature(test runner): capture error and pending calls when timing out ( #7193 )  
						
						
						
						
					 
					
						2021-06-17 15:09:38 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							82a50b0e1d 
							
						 
					 
					
						
						
							
							fix(test-runner): property handle artifacts in context of preserveOutput ( #7181 )  
						
						
						
						
					 
					
						2021-06-16 16:05:30 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							184f2c2e93 
							
						 
					 
					
						
						
							
							feat(test-runner): allow specifying video size ( #7158 )  
						
						
						
						
					 
					
						2021-06-16 07:51:54 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1d6ca5284c 
							
						 
					 
					
						
						
							
							feat(test runner): add tests for playwright-specific fixtures ( #6952 )  
						
						
						
						
					 
					
						2021-06-08 15:52:08 -07:00