Ross Wollman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							799d4703bc 
							
						 
					 
					
						
						
							
							feature(test-runner): multiple web servers ( #15388 )  
						
						... 
						
						
						
						Fixes  #8206 .
Since #8206  is a long-awaited (~ 1 year old), popular (~ 45 reactions, frequently requested in community channels, etc.), this PR aims to unblock folks.
Notably, we do not innovate on the `webServer` API, despite knowing we're not in love with it. We'll save the innovation for either Plugins or a new `LaunchConfigs` option. (We haven't yet arrived at a Plugin API we like, and instead of launching a new option guessing what the "better" launchConfig API would be, let's wait and see how folks use this new Array-variant of `webServer` which—despite its name—can be used for non-Web Server launches! 
					
						2022-07-07 15:27:21 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							89c16cbc8b 
							
						 
					 
					
						
						
							
							feat(runner): anonymous describes ( #15424 )  
						
						... 
						
						
						
						Useful to set some options without coming up with an artificial name.
```js
test.describe(() => {
  test.use({ colorScheme: 'dark' });
  test('my test', () => {});
})
``` 
						
						
					 
					
						2022-07-06 13:54:11 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9525bedc1f 
							
						 
					 
					
						
						
							
							feat(har): re-add routeFromHAR ( #15024 )  
						
						
						
						
					 
					
						2022-06-21 22:12:37 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c02e165eb6 
							
						 
					 
					
						
						
							
							fix(test runner): toHaveScreenshot should not overwrite matching expectations ( #15028 )  
						
						... 
						
						
						
						Even in the `--update-snapshots` mode we should keep existing files if
they are matching under the threshold, to avoid needless churn. 
						
						
					 
					
						2022-06-21 18:01:25 -07:00 
						 
				 
			
				
					
						
							
							
								Ross Wollman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0f8114f6a8 
							
						 
					 
					
						
						
							
							docs: replace serviceWorkers workaround ( #14902 )  
						
						
						
						
					 
					
						2022-06-20 19:31:19 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5e6b493bc9 
							
						 
					 
					
						
						
							
							doc(har): add more details into the har doc ( #14998 )  
						
						
						
						
					 
					
						2022-06-20 17:54:39 -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 
						 
				 
			
				
					
						
							
							
								Ross Wollman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							112a18e083 
							
						 
					 
					
						
						
							
							docs: document new webServer "ready" status codes ( #14885 )  
						
						... 
						
						
						
						Sync docs with implementation introduced via 30f3d526eb 
						
						
					 
					
						2022-06-15 09:00:29 -07:00 
						 
				 
			
				
					
						
							
							
								marlowl 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9d9b5d13be 
							
						 
					 
					
						
						
							
							docs(class-testconfig.md): remove trailing devices reference ( #14867 )  
						
						
						
						
					 
					
						2022-06-14 13:25:06 -07:00 
						 
				 
			
				
					
						
							
							
								Ross Wollman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							61536098be 
							
						 
					 
					
						
						
							
							docs: fix serviceWorkers formatting ( #14845 )  
						
						
						
						
					 
					
						2022-06-13 15:18:24 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							76abb3a5be 
							
						 
					 
					
						
						
							
							chore: unify tab generation ( #14802 )  
						
						
						
						
					 
					
						2022-06-10 17:34:31 -07:00 
						 
				 
			
				
					
						
							
							
								Ross Wollman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							85d03714d9 
							
						 
					 
					
						
						
							
							feat: add allow/block serviceWorkers option ( #14714 )  
						
						... 
						
						
						
						Adds cross-browser support for easily allowing/blocking Service Workers via a Context option.
Includes plumbing for Playwright Test's `use`.
Resolves  #14522 .
Relates #1090 .
Supercedes #14321 . 
						
						
					 
					
						2022-06-08 18:27:51 -04:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1c6a136909 
							
						 
					 
					
						
						
							
							docs: describe test.setTimeout inside beforeAll/afterAll ( #14670 )  
						
						... 
						
						
						
						Adding documentation that `test.setTimeout()` call from the
`beforeAll`/`afterAll` hook changes the timeout of the hook itself. 
						
						
					 
					
						2022-06-06 15:18:38 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2d5572abd8 
							
						 
					 
					
						
						
							
							fix(ct): return locator to root for fragments ( #14639 )  
						
						... 
						
						
						
						fix(fragments): return locator to root for fragments 
						
						
					 
					
						2022-06-04 14:07:06 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							74b846270b 
							
						 
					 
					
						
						
							
							feat(ct): support Vue2 ( #14600 )  
						
						
						
						
					 
					
						2022-06-02 17:37:43 -07:00 
						 
				 
			
				
					
						
							
							
								Ross Wollman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							978854b859 
							
						 
					 
					
						
						
							
							chore: move multi-select assertion to toHaveValues ( #14595 )  
						
						... 
						
						
						
						Follow-up to e0a87e52d7ca3aedf3ef4a19ff3d36cb15edee2b 
						
						
					 
					
						2022-06-02 16:01:34 -04:00 
						 
				 
			
				
					
						
							
							
								Ross Wollman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e0a87e52d7 
							
						 
					 
					
						
						
							
							feat: support multi-select/combo box with toHaveValue ( #14555 )  
						
						
						
						
					 
					
						2022-06-02 12:10:28 -04:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d00efa0dfe 
							
						 
					 
					
						
						
							
							feat(expect): add ignoreCase option to toHaveText and toContainText ( #14534 )  
						
						
						
						
					 
					
						2022-06-02 05:52:53 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c1aecc7d50 
							
						 
					 
					
						
						
							
							docs: maxDiffPixels description typo ( #14456 )  
						
						
						
						
					 
					
						2022-05-29 09:46:06 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f724fa570f 
							
						 
					 
					
						
						
							
							docs: make ts snippets esm-friendly ( #14451 )  
						
						
						
						
					 
					
						2022-05-27 12:36:59 -07:00 
						 
				 
			
				
					
						
							
							
								Ross Wollman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9b225f2ad4 
							
						 
					 
					
						
						
							
							fix: expect.toHaveScreenshot.animations types ( #14387 )  
						
						... 
						
						
						
						This makes the docs/types match the code which has already been
released.
Relevant code to traverse up from:
- 3e084829c0/packages/playwright-core/src/server/screenshotter.ts (L89)3e084829c0/packages/playwright-core/src/server/screenshotter.ts (L118)Fixes  #14385  
						
						
					 
					
						2022-05-24 11:34:29 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3fd435d1d3 
							
						 
					 
					
						
						
							
							docs: fix docs for toHaveScreenshot ( #14280 )  
						
						
						
						
					 
					
						2022-05-24 10:54:32 -07:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9256de5f48 
							
						 
					 
					
						
						
							
							chore: fix wrong toHaveScreenshot defaults in docs ( #14200 )  
						
						
						
						
					 
					
						2022-05-16 22:26:23 +03:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							56a5f2c506 
							
						 
					 
					
						
						
							
							fix(types): fix the toHaveScreenshot types ( #14174 )  
						
						... 
						
						
						
						Co-authored-by: Andrey Lushnikov <aslushnikov@gmail.com> 
						
						
					 
					
						2022-05-16 07:53:46 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e9378ba5fc 
							
						 
					 
					
						
						
							
							chore: hide plugins again ( #14038 )  
						
						
						
						
					 
					
						2022-05-09 10:06:13 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5aa82dc5e4 
							
						 
					 
					
						
						
							
							chore: un-experiment expect(pageOrLocator).toHaveScreenshot() ( #14033 )  
						
						... 
						
						
						
						This patch un-experiments `expect(pageOrLocator).toHaveScreenshot()`
method.
Fixes  #13526  
						
						
					 
					
						2022-05-09 08:34:03 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1bbefce9af 
							
						 
					 
					
						
						
							
							Revert "chore: use plugins for component testing again ( #13977 )" ( #13998 )  
						
						... 
						
						
						
						This reverts commit a2f9f15e3e2419d24b8b1deb87d304c363f93435. 
						
						
					 
					
						2022-05-06 12:02:07 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a2f9f15e3e 
							
						 
					 
					
						
						
							
							chore: use plugins for component testing again ( #13977 )  
						
						
						
						
					 
					
						2022-05-05 14:26:56 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							058f32caff 
							
						 
					 
					
						
						
							
							chore: fixtures-via-plugin implementation ( #13950 )  
						
						
						
						
					 
					
						2022-05-05 10:14:00 -07:00 
						 
				 
			
				
					
						
							
							
								Ross Wollman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							95f7acf1e4 
							
						 
					 
					
						
						
							
							chore: widen Metadata type ( #13942 )  
						
						
						
						
					 
					
						2022-05-04 13:16:11 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							29fd1d86df 
							
						 
					 
					
						
						
							
							chore: hide plugins for now ( #13908 )  
						
						
						
						
					 
					
						2022-05-03 14:25:56 -07:00 
						 
				 
			
				
					
						
							
							
								Ross Wollman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3b3cad7d69 
							
						 
					 
					
						
						
							
							feat: rewrite gitCommitInfo plugin, drop GlobalInfo & attachments ( #13837 )  
						
						
						
						
					 
					
						2022-05-02 16:28:14 -07:00 
						 
				 
			
				
					
						
							
							
								Ross Wollman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							45972a0b6a 
							
						 
					 
					
						
						
							
							feat: add name for plugins ( #13826 )  
						
						... 
						
						
						
						Useful for debugging and eventually for reporters to give status updates on which phase of which plugin they are currently running. 
						
						
					 
					
						2022-04-28 11:43:39 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e756528ad2 
							
						 
					 
					
						
						
							
							feat(plugins): expose suite to plugin setup ( #13807 )  
						
						
						
						
					 
					
						2022-04-28 08:16:17 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3aba94dbef 
							
						 
					 
					
						
						
							
							chore: remove unnecessary types from overrides-test ( #13794 )  
						
						
						
						
					 
					
						2022-04-27 16:14:37 +01:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bc6f8e1f20 
							
						 
					 
					
						
						
							
							feat(poll): expose custom poll interval ( #13776 )  
						
						
						
						
					 
					
						2022-04-26 21:32:38 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5e51c17d41 
							
						 
					 
					
						
						
							
							chore: use plugin story for components ( #13717 )  
						
						
						
						
					 
					
						2022-04-25 10:40:58 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8e5854033a 
							
						 
					 
					
						
						
							
							fix: types generation for attach and GlobalInfo ( #13727 )  
						
						
						
						
					 
					
						2022-04-25 13:56:37 +01:00 
						 
				 
			
				
					
						
							
							
								Ross Wollman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3eac9c694c 
							
						 
					 
					
						
						
							
							fix(test-runner): mark attach as async ( #13687 )  
						
						... 
						
						
						
						Also brings back generation of experimental types as part of lint. 
						
						
					 
					
						2022-04-22 09:27:02 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							88a9262dbb 
							
						 
					 
					
						
						
							
							fix: resolve WebServer cwd dir wrt configDir ( #13626 )  
						
						... 
						
						
						
						Drive-by: speed-up webserver tests by not waiting 750ms to start it.
Fixes  #13115  
						
						
					 
					
						2022-04-19 07:45:36 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ed0dcdabc9 
							
						 
					 
					
						
						
							
							docs: clarify toBeDisabled behavior ( #13616 )  
						
						
						
						
					 
					
						2022-04-18 17:06:01 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							eafb92f6a3 
							
						 
					 
					
						
						
							
							chore: embed expect types ( #13609 )  
						
						
						
						
					 
					
						2022-04-18 10:54:40 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							02aa4fe617 
							
						 
					 
					
						
						
							
							chore: generate types for TestProject/TestConfig ( #13574 )  
						
						
						
						
					 
					
						2022-04-15 10:27:38 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							189a5fa0f8 
							
						 
					 
					
						
						
							
							chore: freez FullProject public type ( #13570 )  
						
						... 
						
						
						
						This is similar to FullConfig.
Properties `expect` and `fullyParallel` are not exposed. 
						
						
					 
					
						2022-04-14 16:58:01 -07:00 
						 
				 
			
				
					
						
							
							
								Wojciech Jureczka 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7ba527c65f 
							
						 
					 
					
						
						
							
							chore: expose JSON Reporter types ( #13241 )  
						
						... 
						
						
						
						Resolves  #13208  
					
						2022-04-14 13:55:29 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c86c2e8762 
							
						 
					 
					
						
						
							
							feat: restore toHaveScreenshot as experimental feature ( #13549 )  
						
						... 
						
						
						
						- Restore docs.
- Make `TestConfig.expect` generated.
- Allow experimental properties with "e" marker: `- foo e<float>`. 
						
						
					 
					
						2022-04-14 13:22:42 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							20dcc45afa 
							
						 
					 
					
						
						
							
							feat: support experimental doc entries  ( #13446 )  
						
						... 
						
						
						
						feat: support experimental doc entries
- Params/options/members are marked as experimental in the docs.
- `experimental.d.ts` is generated that contains all types and
  includes experimental features.
- `experimental.d.ts` is references in our tests so that we
  can test experimental features.
- `fonts` option is restored as experimental. 
						
						
					 
					
						2022-04-13 16:13:30 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1e1df6395f 
							
						 
					 
					
						
						
							
							chore: generate expect types ( #13439 )  
						
						
						
						
					 
					
						2022-04-11 10:42:19 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f6ccd4847e 
							
						 
					 
					
						
						
							
							fix(test runner): default workerIndex to -1 ( #13440 )  
						
						
						
						
					 
					
						2022-04-08 15:23:23 -07:00 
						 
				 
			
				
					
						
							
							
								Ross Wollman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1af32e400f 
							
						 
					 
					
						
						
							
							feat(test-runner): introduce GlobalInfo ( #13083 )  
						
						
						
						
					 
					
						2022-04-08 13:22:14 -07:00