Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							95e7d3aabc 
							
						 
					 
					
						
						
							
							chore: hide store from public ( #21763 )  
						
						
						
						
					 
					
						2023-03-17 11:50:44 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2074a51299 
							
						 
					 
					
						
						
							
							docs: fix details about WorkerInfo vs TestInfo availability ( #21699 )  
						
						... 
						
						
						
						Fixes  #21695 . 
					
						2023-03-16 12:36:34 -07:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3ceac4bf53 
							
						 
					 
					
						
						
							
							docs: drop duplicate JS code snippets from test-api ( #21466 )  
						
						... 
						
						
						
						https://github.com/microsoft/playwright/issues/21385  
					
						2023-03-16 19:01:15 +01:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							27048adebe 
							
						 
					 
					
						
						
							
							chore: introduce testInfo.testId ( #21670 )  
						
						
						
						
					 
					
						2023-03-14 15:58:55 -07:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c9eac69f2b 
							
						 
					 
					
						
						
							
							fix(types): accept string in expect().toMatch() ( #21454 )  
						
						... 
						
						
						
						Fixes https://github.com/microsoft/playwright/issues/21453  
						
						
					 
					
						2023-03-07 17:53:50 +01:00 
						 
				 
			
				
					
						
							
							
								Sander 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d58d833daf 
							
						 
					 
					
						
						
							
							fix(ct): solid and react JS as child ( #20125 )  
						
						
						
						
					 
					
						2023-03-02 13:40:51 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e222874445 
							
						 
					 
					
						
						
							
							chore: ui mode first cut ( #21291 )  
						
						
						
						
					 
					
						2023-03-01 15:27:23 -08:00 
						 
				 
			
				
					
						
							
							
								Gonçalo Basto 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7c6630b1a2 
							
						 
					 
					
						
						
							
							docs: add custom reporter options documentation  ( #21144 )  
						
						
						
						
					 
					
						2023-02-24 12:29:08 +01:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1432c406ad 
							
						 
					 
					
						
						
							
							docs: fix toMatch code snippet typo ( #21077 )  
						
						... 
						
						
						
						Fixes https://github.com/microsoft/playwright/issues/21014  
						
						
					 
					
						2023-02-22 00:38:30 +01:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							55f4b670a9 
							
						 
					 
					
						
						
							
							fix(test runner types): allow sync step functions ( #20996 )  
						
						
						
						
					 
					
						2023-02-17 14:26:40 -08:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							09be9d6425 
							
						 
					 
					
						
						
							
							feat: key value store backed by filesystem ( #20932 )  
						
						... 
						
						
						
						Keys are used as a relative file path without any sanitization assuming
that the underlying fs will throw on error. 
						
						
					 
					
						2023-02-16 16:48:28 -08:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0b7f9055a3 
							
						 
					 
					
						
						
							
							chore: fix docs for python and java ( #20962 )  
						
						
						
						
					 
					
						2023-02-16 11:48:38 -08:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ffc2477a00 
							
						 
					 
					
						
						
							
							chore: 1.31 release notes for js ( #20933 )  
						
						
						
						
					 
					
						2023-02-16 09:35:01 -08:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							90c4e6f9b2 
							
						 
					 
					
						
						
							
							chore: revert sharded html report ( #20923 )  
						
						... 
						
						
						
						We've decided not to ship it in the current form.
#10437  
						
						
					 
					
						2023-02-15 12:38:03 -08:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							72942e81d5 
							
						 
					 
					
						
						
							
							chore: fixes to toBeInViewport ( #20870 )  
						
						
						
						
					 
					
						2023-02-13 15:21:40 -08:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fdcd7b549d 
							
						 
					 
					
						
						
							
							chore: mark comparator option back as experimental ( #20816 )  
						
						... 
						
						
						
						This reverts commit 303c5998f8b747e94ac80e2e02c53b47ded11322.
Reason for revert: I tried enabling `ssim-cie94` by default on
ionic-framework test suite, and it proves to be overly strict for their
usecase. 
						
						
					 
					
						2023-02-13 11:11:44 -08:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							68e170ef89 
							
						 
					 
					
						
						
							
							feat: implement expect(locator).toBeInViewport() ( #20668 )  
						
						... 
						
						
						
						The method accepts a `ratio` option to assert the ratio
of the element in viewport. `ratio` defaults to `Number.MIN_VALUE`.
NOTE: this reverts commit d950f5b6ee3fee4b825831983d5af5b197bda769 and
adds `ratio` option support + does the rename.
Fixes  #8740  
						
						
					 
					
						2023-02-10 04:33:22 -08:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							778dd20403 
							
						 
					 
					
						
						
							
							chore(docs): beautify generated types, put options always last ( #20805 )  
						
						
						
						
					 
					
						2023-02-09 20:46:33 -08:00 
						 
				 
			
				
					
						
							
							
								Sander 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4a3d79f291 
							
						 
					 
					
						
						
							
							chore(ct): improve internal hook types ( #20722 )  
						
						
						
						
					 
					
						2023-02-09 08:58:15 -08:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							98e2fe184e 
							
						 
					 
					
						
						
							
							chore(docs): sort members instead of validating ( #20755 )  
						
						
						
						
					 
					
						2023-02-08 09:59:31 -08:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a93cf767a1 
							
						 
					 
					
						
						
							
							feat: html reporter sharded option ( #20737 )  
						
						... 
						
						
						
						Make sharded report feature an opt-in:
```ts
{
   reporter: [['html', { sharded: true }]]
};
```
#10437  
						
						
					 
					
						2023-02-07 22:21:50 -08:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							303c5998f8 
							
						 
					 
					
						
						
							
							feat: release "comparator" option from experiment ( #20720 )  
						
						... 
						
						
						
						The option defines a comparator to be used to compare images.
Possible values are `"pixelmatch"` and `"ssim-cie94"`.
Note: This reverts commit 8167f8bf548308ad8c6f1188508aadee84f26023. 
						
						
					 
					
						2023-02-07 08:51:48 -08:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							33a05446d2 
							
						 
					 
					
						
						
							
							fix(expect): update docs to point to GenericAssertions instead of expect library ( #20688 )  
						
						... 
						
						
						
						Closes  #20432 . 
					
						2023-02-06 14:51:24 -08:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e64c623e61 
							
						 
					 
					
						
						
							
							feat(expect): strip down Expect types ( #20601 )  
						
						... 
						
						
						
						This only leaves:
- documented assertions;
- asymmetric matchers;
- `resolves`/`rejects`;
- `expect.extend()`;
- `expect.getState()` with selected properties.
References #20432 . 
						
						
					 
					
						2023-02-03 15:56:31 -08:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3180bc9804 
							
						 
					 
					
						
						
							
							fix(types): make most fixtures non-undefined ( #20573 )  
						
						... 
						
						
						
						Fixes  #20416 . 
					
						2023-02-02 13:11:50 -08:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f46883e58e 
							
						 
					 
					
						
						
							
							feat(expect): add GenericAssertions documentation ( #20564 )  
						
						... 
						
						
						
						References #20432 . 
						
						
					 
					
						2023-02-01 16:55:52 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							421dd884a7 
							
						 
					 
					
						
						
							
							chore: implement --no-deps ( #20569 )  
						
						
						
						
					 
					
						2023-02-01 16:32:13 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cb9ace6035 
							
						 
					 
					
						
						
							
							chore(test): move run options into config ( #20568 )  
						
						
						
						
					 
					
						2023-02-01 15:25:26 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							635b47025e 
							
						 
					 
					
						
						
							
							chore: expose project dependencies api ( #20546 )  
						
						
						
						
					 
					
						2023-02-01 08:39:07 -08:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9c6c31a442 
							
						 
					 
					
						
						
							
							fix(types): update PlaywrightTestConfig types ( #20540 )  
						
						... 
						
						
						
						This makes errors more focused on the custom properties.
References #20416 . 
						
						
					 
					
						2023-01-31 15:02:01 -08:00 
						 
				 
			
				
					
						
							
							
								chimurai 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f72d400952 
							
						 
					 
					
						
						
							
							chore: fix typos ( #20473 )  
						
						
						
						
					 
					
						2023-01-30 09:53:28 +01:00 
						 
				 
			
				
					
						
							
							
								Adi 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							32724cd5ce 
							
						 
					 
					
						
						
							
							docs: Added types to custom reporter typescript example ( #20191 )  
						
						
						
						
					 
					
						2023-01-28 09:38:42 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5761a62b1c 
							
						 
					 
					
						
						
							
							docs: clarify the null value for the viewport ( #20333 )  
						
						... 
						
						
						
						Fixes https://github.com/microsoft/playwright/issues/20284  
						
						
					 
					
						2023-01-25 17:48:18 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fe1dd7818d 
							
						 
					 
					
						
						
							
							chore: extract task runner for global setup ( #20345 )  
						
						
						
						
					 
					
						2023-01-25 15:38:23 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							147bb6b292 
							
						 
					 
					
						
						
							
							chore: run global setup before onBegin ( #20285 )  
						
						
						
						
					 
					
						2023-01-23 17:44:23 -08:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d950f5b6ee 
							
						 
					 
					
						
						
							
							chore: remove toIntersectViewport for the next release ( #20232 )  
						
						... 
						
						
						
						Mostly reverts #19901 . 
						
						
					 
					
						2023-01-19 15:04:09 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e08168e16e 
							
						 
					 
					
						
						
							
							chore: temporarily remove project and global setup, store ( #20181 )  
						
						
						
						
					 
					
						2023-01-18 12:56:03 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e065d608b6 
							
						 
					 
					
						
						
							
							chore: introduce defineConfig for easier JS typing ( #20061 )  
						
						... 
						
						
						
						Fixes https://github.com/microsoft/playwright/issues/19694  
						
						
					 
					
						2023-01-12 13:12:02 -08:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							730a197c80 
							
						 
					 
					
						
						
							
							feat: config.globalScripts ( #20062 )  
						
						... 
						
						
						
						Introduce config.globalScripts. Tests from the matching files will run
before all projects. We'll only allow beforeAll/afterAll instead of
tests in such files (next PR).
Global scripts are executed as part of 'Global Scripts' project which is
not present in FullConfig.projects but may be referenced by
corresponding global setup Suites.
Signed-off-by: Yury Semikhatsky <yurys@chromium.org>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com> 
						
						
					 
					
						2023-01-12 13:02:54 -08:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2a49c5e498 
							
						 
					 
					
						
						
							
							feat(expect): introduce expect(locator).toIntersectViewport() ( #19901 )  
						
						... 
						
						
						
						This is a new web-first assertion that should be used like this:
```ts
test('should work', async ({ page }) => {
  const locator = page.locator('body');
  // New web-first assertion.
  await expect(locator).toIntersectViewport();
  // The same functionality.
  await expect.poll(() => locator.viewportRatio()).toBeGreaterThan(0);
});
```
Fixes  #8740  
						
						
					 
					
						2023-01-06 16:56:24 -08:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b376110b77 
							
						 
					 
					
						
						
							
							docs: add proper usage for some test apis ( #19925 )  
						
						
						
						
					 
					
						2023-01-06 10:26:23 -08:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							137070d889 
							
						 
					 
					
						
						
							
							Revert "chore: hide setup, store, TestProject.setupMatch, storageStat… ( #19756 )  
						
						... 
						
						
						
						…eName (#19442 )"
This reverts commit 92dd734e0471cc1b4724ad965e4389ed5235a9f1. 
						
						
					 
					
						2022-12-28 15:39:31 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							675f0eb4a0 
							
						 
					 
					
						
						
							
							chore: report error location for fatal errors ( #19610 )  
						
						
						
						
					 
					
						2022-12-21 09:36:59 -08:00 
						 
				 
			
				
					
						
							
							
								Vladimir Semenov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							467d9f37fc 
							
						 
					 
					
						
						
							
							feat(reporter): Add parallelIndex field to TestResult ( #19570 )  
						
						
						
						
					 
					
						2022-12-19 14:37:04 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0e2732decf 
							
						 
					 
					
						
						
							
							feat(api): introduce expect().toPass ( #19463 )  
						
						
						
						
					 
					
						2022-12-14 19:23:13 -08:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8167f8bf54 
							
						 
					 
					
						
						
							
							chore: hide "comparator" option from documentation and types ( #19441 )  
						
						
						
						
					 
					
						2022-12-14 09:58:19 -08:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							92dd734e04 
							
						 
					 
					
						
						
							
							chore: hide setup, store, TestProject.setupMatch, storageStateName ( #19442 )  
						
						
						
						
					 
					
						2022-12-13 22:48:38 -08:00 
						 
				 
			
				
					
						
							
							
								Fernando Garcia Llorente 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cd4ccdfa29 
							
						 
					 
					
						
						
							
							feat: allow options in automatic screenshots ( #19143 )  
						
						... 
						
						
						
						Closes  #9983  
Allowing Automatic Screenshots in `PlaywrightTestConfig` to have
`fullPage` & `omitBackground` as optional parameters. 
					
						2022-12-07 08:45:33 -08:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cac67fb94f 
							
						 
					 
					
						
						
							
							chore: do not use "threshold" option for the ssim-cie94 comparator ( #19314 )  
						
						
						
						
					 
					
						2022-12-06 17:03:13 -08:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							beb15bb504 
							
						 
					 
					
						
						
							
							chore: rename setup => setupMatch ( #19309 )  
						
						
						
						
					 
					
						2022-12-06 14:55:22 -08:00