Viktor Szépe 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							150cbcbdf3 
							
						 
					 
					
						
						
							
							chore: fix typos ( #30645 )  
						
						
						
						
					 
					
						2024-05-08 19:40:03 +01:00 
						 
				 
			
				
					
						
							
							
								Rui Figueira 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cf3ff6531a 
							
						 
					 
					
						
						
							
							chore: make NodeSnapshot type recursive and more ( #30619 )  
						
						... 
						
						
						
						Also, deviceDescriptors are now imported with ESM import instead of require() 
						
						
					 
					
						2024-05-08 11:08:40 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							59689c9c97 
							
						 
					 
					
						
						
							
							feat(addLocatorHandler): various improvements ( #30494 )  
						
						... 
						
						
						
						- Automatically waiting for the overlay locator to be hidden, with
`allowStayingVisible` opt-out.
- `times: 1` option.
- `removeLocatorHandler(locator, handler)` method.
- Passing `locator` as first argument to `handler`.
Fixes  #30471 . Fixes  #30424 . Fixes  #29779 . 
						
						
					 
					
						2024-04-24 15:19:12 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f1f3929a67 
							
						 
					 
					
						
						
							
							chore: get rid of ConfigInWorker, use FullConfig instead ( #30517 )  
						
						... 
						
						
						
						Addressing API review feedback. 
						
						
					 
					
						2024-04-24 14:14:05 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8fc7723f22 
							
						 
					 
					
						
						
							
							fix(types): allow any return type from event handlers ( #30492 )  
						
						... 
						
						
						
						Closes  #29353 . 
					
						2024-04-24 09:25:43 -07:00 
						 
				 
			
				
					
						
							
							
								Mateusz Burzyński 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							82aefd24db 
							
						 
					 
					
						
						
							
							types: allow readonly tuples to be used as ReporterDescription ( #30387 )  
						
						... 
						
						
						
						This makes it easier to create helper functions like:
```ts
function createReporter(options: MyOptions) {
  return ['my-reporter', options] as const
}
```
At the moment, such functions can't be passed to `reporters` because a
readonly array is not assignable to the expected mutable array.
Playwirght certainly doesn't require those arrays to be mutable so it
would make sense to relax this. 
						
						
					 
					
						2024-04-16 17:39:11 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							01d4293803 
							
						 
					 
					
						
						
							
							chore: class link generation in release notes ( #30324 )  
						
						
						
						
					 
					
						2024-04-10 10:05:54 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d5907f4b13 
							
						 
					 
					
						
						
							
							feat(junit): includeProjectInTestName option ( #30233 )  
						
						... 
						
						
						
						Fixes  #30246 . 
					
						2024-04-04 11:04:51 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5c5f0d77e4 
							
						 
					 
					
						
						
							
							chore: move implementation of Config and Project to TestConfig and TestProject ( #30212 )  
						
						... 
						
						
						
						Reference https://github.com/microsoft/playwright/issues/29768  
						
						
					 
					
						2024-04-03 10:47:32 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							63f876a335 
							
						 
					 
					
						
						
							
							chore: remove overrides for type and status ( #30211 )  
						
						... 
						
						
						
						Reference https://github.com/microsoft/playwright/issues/29768  
						
						
					 
					
						2024-04-02 17:42:13 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							81bcf2a53b 
							
						 
					 
					
						
						
							
							docs: document FullReporter API ( #30186 )  
						
						... 
						
						
						
						* FullConfig split into FullConfig and ConfigInWorker
* FullProject split into FullProject and ProjectInWorker
* Tests can only access {Config, Project}InWorker, while reporters can
only access Full{Config,Project}. This will allow in the future to
change the reporter API independently from the tests.
* Added documentation for the 4 classes. 
						
						
					 
					
						2024-04-02 16:15:02 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3001c9ac73 
							
						 
					 
					
						
						
							
							fix: preserve test declaration order in html and merged report ( #30159 )  
						
						... 
						
						
						
						* Add `Suite.entries` that returns tests and suites in their declaration
order
* Exposed `Suite.type` and `TestCase.type` for discriminating between
different entry types.
* Blob report format is updated to store entries instead of separate
lists for suites and tests.
* Bumped blob format version to 2, added modernizer.
Fixes https://github.com/microsoft/playwright/issues/29984  
						
						
					 
					
						2024-03-29 10:12:33 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5912362089 
							
						 
					 
					
						
						
							
							chore: export MatcherReturnType type ( #30139 )  
						
						... 
						
						
						
						Fixes https://github.com/microsoft/playwright/issues/30131  
						
						
					 
					
						2024-03-27 08:33:00 -07:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0db1d40abc 
							
						 
					 
					
						
						
							
							fix(types): evaluate should not unpack return unions ( #29971 )  
						
						
						
						
					 
					
						2024-03-18 16:42:33 +01:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							94348bb3c5 
							
						 
					 
					
						
						
							
							chore: align test tree with vscode ( #29864 )  
						
						
						
						
					 
					
						2024-03-14 15:44:35 -07:00 
						 
				 
			
				
					
						
							
							
								Renan Greca 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4e0bd6286e 
							
						 
					 
					
						
						
							
							docs: Improved JSDoc for expect.toPass ( #29722 )  
						
						
						
						
					 
					
						2024-03-01 10:51:23 -08:00 
						 
				 
			
				
					
						
							
							
								Stevan Freeborn 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							52b803ecf5 
							
						 
					 
					
						
						
							
							feat(trace mode): add on-first-failure mode for traces ( #29647 )  
						
						... 
						
						
						
						Implements the changes suggested in #29531  
						
						
					 
					
						2024-02-28 14:39:18 -08:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							adccd39b01 
							
						 
					 
					
						
						
							
							docs(dotnet): type specific addLocatorHandler handler ( #29586 )  
						
						
						
						
					 
					
						2024-02-22 23:53:09 +01: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 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fb29d90052 
							
						 
					 
					
						
						
							
							docs: remove overloads from test.* APIs ( #29376 )  
						
						
						
						
					 
					
						2024-02-05 19:03:04 -08:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fbf87ef904 
							
						 
					 
					
						
						
							
							fix: test.fail wrapper method ( #29112 )  
						
						... 
						
						
						
						Fixes https://github.com/microsoft/playwright/issues/29104  
						
						
					 
					
						2024-01-22 19:47:27 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							03815b9eb1 
							
						 
					 
					
						
						
							
							chore: migrate to Node 18 lockFileVersion 3 ( #29051 )  
						
						
						
						
					 
					
						2024-01-18 11:33:23 -08:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9c845365f7 
							
						 
					 
					
						
						
							
							chore: revert TestProject.botName for this release ( #28670 )  
						
						... 
						
						
						
						This is essentially a revert of f88288d71dc78d829fe5f128afff71d1f2cae3ea
Reference https://github.com/microsoft/playwright/issues/27284  
						
						
					 
					
						2023-12-15 09:48:34 -08:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							297cfdfc5f 
							
						 
					 
					
						
						
							
							chore: use ReadonlyArray for input parameters ( #28564 )  
						
						
						
						
					 
					
						2023-12-12 16:22:48 -08:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							411abdb752 
							
						 
					 
					
						
						
							
							feat: add fileName option to blob reporter ( #28525 )  
						
						... 
						
						
						
						Reference https://github.com/microsoft/playwright/issues/27284  
						
						
					 
					
						2023-12-06 20:44:06 -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 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bf4c315b09 
							
						 
					 
					
						
						
							
							fix(types): explicit ExpectMatcherState type, optional Expect arg ( #28119 )  
						
						... 
						
						
						
						Fixes  #28035 . 
					
						2023-11-13 18:37:50 -08:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7de0ccd36e 
							
						 
					 
					
						
						
							
							chore: support await using for close() and dispose() ( #27766 )  
						
						... 
						
						
						
						This change assumes that the user has Node 18 with Symbol.dispose
available.
Fixes https://github.com/microsoft/playwright/issues/27141  
						
						
					 
					
						2023-10-24 12:25:53 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fd82b2b3fa 
							
						 
					 
					
						
						
							
							feat(json report): add expected/unexpected/skipped/flaky stats ( #27685 )  
						
						... 
						
						
						
						Fixes  #27498 . 
					
						2023-10-18 12:55:31 -07:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6b31b30df9 
							
						 
					 
					
						
						
							
							chore: allow a script to generate release-notes for GitHub ( #27596 )  
						
						... 
						
						
						
						`node utils/render_release_notes.mjs js 1.39` 
						
						
					 
					
						2023-10-16 11:23:22 +02:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							393bd36e0a 
							
						 
					 
					
						
						
							
							chore: composed->merge ( #27555 )  
						
						
						
						
					 
					
						2023-10-11 13:56:27 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							daba77644c 
							
						 
					 
					
						
						
							
							feat: composedExpect ( #27432 )  
						
						... 
						
						
						
						Allows to merge multiple expects with custom matchers added by
`expect.extend()`. 
						
						
					 
					
						2023-10-04 15:01:25 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							65ce4cd213 
							
						 
					 
					
						
						
							
							feat: expose composedTest() instead of test._extendTest() ( #27414 )  
						
						
						
						
					 
					
						2023-10-03 13:26:30 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bb8a102164 
							
						 
					 
					
						
						
							
							chore(types): add blob reporter to the known reporter types ( #27371 )  
						
						... 
						
						
						
						Closes https://github.com/microsoft/playwright/issues/27357  
						
						
					 
					
						2023-09-29 15:15:18 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d136b0aeb6 
							
						 
					 
					
						
						
							
							feat(step): allow boxing steps ( #27334 )  
						
						
						
						
					 
					
						2023-09-29 09:44:00 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							66eb3043f5 
							
						 
					 
					
						
						
							
							feat(json report): expose startTime and duration ( #27290 )  
						
						... 
						
						
						
						Fixes  #27183 . 
					
						2023-09-25 10:58:55 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a6a0257c88 
							
						 
					 
					
						
						
							
							feat(expect): allow chaining expects ( #27248 )  
						
						
						
						
					 
					
						2023-09-22 12:12:17 -07:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0d44405762 
							
						 
					 
					
						
						
							
							fix: custom expect matchers on Locator/Page/APIResponse instance ( #27117 )  
						
						... 
						
						
						
						Fixes https://github.com/microsoft/playwright/issues/27113  
						
						
					 
					
						2023-09-15 18:05:44 +02:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							603861c48d 
							
						 
					 
					
						
						
							
							fix: revert toMatchSnapshot deprecation ( #27089 )  
						
						... 
						
						
						
						- This reverts commit
8348f66107#26718 .
- Update docs to point towards `toHaveScreenshot`. 
						
						
					 
					
						2023-09-14 12:52:41 -07:00 
						 
				 
			
				
					
						
							
							
								Yury Semikhatsky 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fac4560a82 
							
						 
					 
					
						
						
							
							chore(types): host, port in html reporter config ( #27027 )  
						
						
						
						
					 
					
						2023-09-12 13:38:10 -07:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							02c72e545b 
							
						 
					 
					
						
						
							
							feat(onEnd): allow overriding the exit code ( #27010 )  
						
						... 
						
						
						
						Fixes: https://github.com/microsoft/playwright/issues/26858  
						
						
					 
					
						2023-09-12 13:37:30 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							186f86905c 
							
						 
					 
					
						
						
							
							chore: make @playwright/test depend on playwright ( #26946 )  
						
						
						
						
					 
					
						2023-09-08 14:23:35 -07: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 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8348f66107 
							
						 
					 
					
						
						
							
							feat: deprecate toMatchSnapshot for buffers ( #26718 )  
						
						... 
						
						
						
						These are usually used for screenshots instead of toHaveScreenshot.
String-based snapshots are left as is.
<img width="836" alt="deprecated"
src="https://github.com/microsoft/playwright/assets/9881434/d02818da-7eea-47fc-8ea8-4104b0dd49b5 ">
---
Also deemphasized toMatchSnapshot throughout all docs.
Fixes  #26612 . 
						
						
					 
					
						2023-08-25 18:20:01 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							81cc39ea6e 
							
						 
					 
					
						
						
							
							feat(expect): narrow down available assertions for Page/Locator/APIResponse ( #26658 )  
						
						... 
						
						
						
						Fixes  #26381 . 
					
						2023-08-23 13:14:39 -07:00 
						 
				 
			
				
					
						
							
							
								Richard Blažo 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bcc30bc71e 
							
						 
					 
					
						
						
							
							feat: add title for before and after hooks ( #26523 )  
						
						
						
						
					 
					
						2023-08-21 09:50:22 -07:00 
						 
				 
			
				
					
						
							
							
								Max Schmitt 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2deabefa71 
							
						 
					 
					
						
						
							
							fix: Locator.evaluateHandle types ( #26469 )  
						
						... 
						
						
						
						Fixes https://github.com/microsoft/playwright/issues/26449  
						
						
					 
					
						2023-08-14 18:27:25 +02:00 
						 
				 
			
				
					
						
							
							
								Pavel Feldman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							08d6abab4a 
							
						 
					 
					
						
						
							
							chore: allow merging defineConfig ( #26390 )  
						
						
						
						
					 
					
						2023-08-09 17:23:34 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a74101d98f 
							
						 
					 
					
						
						
							
							docs: document expect's asymmetric matchers ( #24498 )  
						
						... 
						
						
						
						References #24460 , #24417 . 
						
						
					 
					
						2023-07-28 14:04:01 -07:00 
						 
				 
			
				
					
						
							
							
								Dmitry Gozman 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ea6d127f28 
							
						 
					 
					
						
						
							
							feat(connect): exposeNetwork option ( #24436 )  
						
						
						
						
					 
					
						2023-07-26 17:29:31 -07:00