Jean-François Greffier 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a15fe50e7b 
							
						 
					 
					
						
						
							
							feat(test runner): workers as percentage ( #17400 )  
						
						... 
						
						
						
						Allows to set workers as a percentage of logical CPUs, for example
"50%".
Examples :
```bash
npx playwright test --workers 3
npx playwright test --workers 50%
```
```js
const config: PlaywrightTestConfig = {
  // ...
  workers: '33%',
}
``` 
						
						
					 
					
						2022-09-21 11:17:36 -07:00 
						 
				 
			
				
					
						
							
							
								Ross Wollman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8d639ae50e 
							
						 
					 
					
						
						
							
							chore: revert toHaveAttribute type sig and overloads ( #17406 )  
						
						... 
						
						
						
						Relates #16517 .
Revert "docs(python): add missing NotToHaveAttribute overloads (#17371 )"
This reverts commit 2e1ea296144c1d38f90815c02167a2e51f3b2b40.
Revert "docs(release-notes): add 1.26 release notes for language ports
(#17345 )"
This reverts commit 4b8a85e69d2ded2089595ff24616eb381f59cff1.
Revert "test: unflake "should support boolean attribute with options"
(#17024 )"
This reverts commit 1dc05bd4c60209542d35624d5f39b7a2a44cce3e.
Revert "fix: support toHaveAttribute(name, options) (#16941 )"
This reverts commit f30ac1d67827fbcf3f8be7a851ef81b761842c52.
Revert "feat: expect(locator).toHaveAttribute to assert attribute
presence (#16767 )"
This reverts commit 622c73cc1e677834ebdc27e95c89ff101bdccf54. 
						
						
					 
					
						2022-09-16 11:17:35 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							854c783019 
							
						 
					 
					
						
						
							
							chore: project.id, configFile in reporter apis ( #17346 )  
						
						
						
						
					 
					
						2022-09-14 14:56:28 -07:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4b8a85e69d 
							
						 
					 
					
						
						
							
							docs(release-notes): add 1.26 release notes for language ports ( #17345 )  
						
						
						
						
					 
					
						2022-09-14 22:38:19 +02:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bca13bc35a 
							
						 
					 
					
						
						
							
							feat(assertions): support toBeVisible({ visible }) ( #17207 )  
						
						
						
						
					 
					
						2022-09-09 08:33:23 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f0c5810609 
							
						 
					 
					
						
						
							
							feat(assertions): support toBeEditable({ editable }) ( #17065 )  
						
						
						
						
					 
					
						2022-09-06 12:50:45 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							306ab34aa3 
							
						 
					 
					
						
						
							
							feat(assertions): support toBeEnabled({ enabled }) ( #17058 )  
						
						
						
						
					 
					
						2022-09-06 11:40:34 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1dc2a33896 
							
						 
					 
					
						
						
							
							docs: clarify that toBeHidden works when nothing matches ( #17057 )  
						
						
						
						
					 
					
						2022-09-02 16:36:19 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fafd9837ba 
							
						 
					 
					
						
						
							
							feat: introduce the --ignore-snapshots option ( #17004 )  
						
						... 
						
						
						
						This patch introduces `--ignore-snapshots` Playwright Test CLI option,
and `ignoreSnapshots` configuration argument. 
						
						
					 
					
						2022-09-01 05:34:36 -07:00 
						 
				 
			
				
					
						
							
							
								nate-ro 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							409bab59ea 
							
						 
					 
					
						
						
							
							chore: added starting time of test to the base json reporter ( #16885 )  
						
						
						
						
					 
					
						2022-08-30 20:03:21 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f30ac1d678 
							
						 
					 
					
						
						
							
							fix: support toHaveAttribute(name, options) ( #16941 )  
						
						
						
						
					 
					
						2022-08-30 17:53:00 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Lushnikov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							622c73cc1e 
							
						 
					 
					
						
						
							
							feat: expect(locator).toHaveAttribute to assert attribute presence ( #16767 )  
						
						... 
						
						
						
						This patch changes `expect(locator).toHaveAttribute()` so that the
`value` argument can be omitted. When done so, the method will
assert attribute existance.
Fixes  #16517  
						
						
					 
					
						2022-08-25 05:28:34 -07:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9341bf12c6 
							
						 
					 
					
						
						
							
							docs(dotnet): enable api response assertions ( #16799 )  
						
						
						
						
					 
					
						2022-08-24 08:30:47 -07:00 
						 
				 
			
				
					
						
							
							
								sand4rt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d9850e0e86 
							
						 
					 
					
						
						
							
							feat(ct): react rerender ( #16560 )  
						
						
						
						
					 
					
						2022-08-16 10:47:33 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
						
						
							
						
						
							e64b09cc28 
							
						 
					 
					
						
						
							
							Revert "feat(ct): react rerender ( #16549 )"  
						
						... 
						
						
						
						This reverts commit a62accf8aebd0d6cc08fd461ee8281f72ab86d33.
I'll reapply them in order. 
						
						
					 
					
						2022-08-15 13:17:15 -07:00 
						 
				 
			
				
					
						
							
							
								sand4rt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a62accf8ae 
							
						 
					 
					
						
						
							
							feat(ct): react rerender ( #16549 )  
						
						
						
						
					 
					
						2022-08-15 13:10:38 -07:00 
						 
				 
			
				
					
						
							
							
								Elizaveta Bezyaikna 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9f22ae9aa9 
							
						 
					 
					
						
						
							
							chore: add id for each test to JSONReporter ( #16494 )  
						
						
						
						
					 
					
						2022-08-15 09:28:21 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d0030a7434 
							
						 
					 
					
						
						
							
							docs: test.step return value ( #16421 )  
						
						
						
						
					 
					
						2022-08-10 11:21:13 -07:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e725b5f8a9 
							
						 
					 
					
						
						
							
							fix(esm): fix TS type check with NodeNext mode ( #16340 )  
						
						
						
						
					 
					
						2022-08-09 20:06:06 +02:00 
						 
				 
			
				
					
						
							
							
								Kian-Meng Ang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							22f0723c72 
							
						 
					 
					
						
						
							
							docs: fix typos in docs ( #16370 )  
						
						... 
						
						
						
						Co-authored-by: Debbie O'Brien <debs-obrien@users.noreply.github.com>
Co-authored-by: Max Schmitt <max@schmitt.mx> 
						
						
					 
					
						2022-08-09 15:47:17 +02:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7a86e140f5 
							
						 
					 
					
						
						
							
							chore: remove TestProject.projectSetup ( #16321 )  
						
						... 
						
						
						
						There are better ideas to address this issue in more general manner. 
						
						
					 
					
						2022-08-05 15:24:30 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1f40e3d22b 
							
						 
					 
					
						
						
							
							chore: make Reporter.onExit an internal method ( #16280 )  
						
						
						
						
					 
					
						2022-08-05 13:41:00 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							424431fcfe 
							
						 
					 
					
						
						
							
							docs: explain toHaveText and toContainText in more details ( #16283 )  
						
						
						
						
					 
					
						2022-08-05 10:27:17 -07:00 
						 
				 
			
				
					
						
							
							
								sand4rt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bd5eddd62e 
							
						 
					 
					
						
						
							
							fix(ct): multi root vue components ( #16211 )  
						
						
						
						
					 
					
						2022-08-04 10:43:43 -07:00 
						 
				 
			
				
					
						
							
							
								sand4rt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e5cc78af67 
							
						 
					 
					
						
						
							
							chore(ct): change setProps to rerender ( #16204 )  
						
						
						
						
					 
					
						2022-08-03 18:14:00 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							445fe032f5 
							
						 
					 
					
						
						
							
							feat(test runner): separate interrupted status from skipped ( #16124 )  
						
						
						
						
					 
					
						2022-08-02 12:55:43 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3112edb4ca 
							
						 
					 
					
						
						
							
							feat(test runner): TestProject.projectSetup ( #16063 )  
						
						... 
						
						
						
						`projectSetup` is a project-scoped alternative to `globalSetup`.
It is only executed if at least one test from the project is scheduled to run. 
						
						
					 
					
						2022-08-01 09:01:23 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7d306bbc66 
							
						 
					 
					
						
						
							
							feat: return value from step ( #16060 )  
						
						
						
						
					 
					
						2022-07-29 15:16:07 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e830fe821d 
							
						 
					 
					
						
						
							
							feat(test runner): introduce test.describe.fixme ( #16059 )  
						
						
						
						
					 
					
						2022-07-29 12:44:22 -07:00 
						 
				 
			
				
					
						
							
							
								sand4rt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4a47e275c8 
							
						 
					 
					
						
						
							
							feat(ct): vue set props ( #16058 )  
						
						
						
						
					 
					
						2022-07-29 11:45:06 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8c190c3e09 
							
						 
					 
					
						
						
							
							feat(testId): expose persistent test id ( #16003 )  
						
						
						
						
					 
					
						2022-07-27 20:17:19 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2eff208e54 
							
						 
					 
					
						
						
							
							feat(ct): allow unmounting components ( #15974 )  
						
						
						
						
					 
					
						2022-07-27 15:12:36 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f88b1e9cde 
							
						 
					 
					
						
						
							
							feat(reporters): separate onExit from onEnd ( #15926 )  
						
						... 
						
						
						
						This is now used by html reporter to open UI. 
						
						
					 
					
						2022-07-25 13:20:33 -07:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							004cd9273c 
							
						 
					 
					
						
						
							
							fix(test-runner): multiple webServer types ( #15901 )  
						
						
						
						
					 
					
						2022-07-25 10:39:06 +02:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							582b5e08b2 
							
						 
					 
					
						
						
							
							docs: clarify toHaveURL parameter semantics ( #15723 )  
						
						
						
						
					 
					
						2022-07-15 11:09:20 -07:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4bba41ab8f 
							
						 
					 
					
						
						
							
							Revert "feat(matchers): add toContainClass ( #15491 )" ( #15670 )  
						
						... 
						
						
						
						This reverts commit e4debd0bf665ae69a6621768d17e739aef13be9a. 
						
						
					 
					
						2022-07-14 22:03:37 +02:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ee7d60fcee 
							
						 
					 
					
						
						
							
							docs: migrate page actions to locator actions 2/n ( #15603 )  
						
						
						
						
					 
					
						2022-07-13 11:50:18 +02:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e4debd0bf6 
							
						 
					 
					
						
						
							
							feat(matchers): add toContainClass ( #15491 )  
						
						
						
						
					 
					
						2022-07-12 23:17:10 +02:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f3d3231b29 
							
						 
					 
					
						
						
							
							feat(ct): allow configuring apps per test ( #15551 )  
						
						
						
						
					 
					
						2022-07-12 09:37:33 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3a9b29f46c 
							
						 
					 
					
						
						
							
							feat(ct-vue): allow configuring apps per test ( #15538 )  
						
						
						
						
					 
					
						2022-07-11 13:54:05 -07:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							98ea418124 
							
						 
					 
					
						
						
							
							fix(expect): expect.not types ( #15487 )  
						
						
						
						
					 
					
						2022-07-11 18:31:53 +02:00 
						 
				 
			
				
					
						
							
							
								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