Dmitry Gozman
a708b65512
feat: per-assertion snapshot path template in config
...
Introduces the following properties in the config that take
precedence over `config.snapshotPathTemplate`.
```ts
export default {
expect: {
toHaveScreenshot: {
pathTemplate: '__screenshots__{/projectName}/{testFilePath}/{arg}{ext}',
},
toMatchAriaSnapshot: {
pathTemplate: '__snapshots__/{testFilePath}/{arg}{ext}',
},
},
};
```
Additionally, changes the default template for aria snapshots to:
```
{snapshotDir}/{testFileDir}/{testFileName}-snapshots/{arg}{ext}
```
This is technically a breaking change.
2025-01-29 14:43:42 +00:00
Andrey Lushnikov
b419527aab
fix(firefox): disable fetch keep-alive for now before a proper fix ( #34530 )
2025-01-29 09:50:32 +00:00
Pavel Feldman
931b9f28cd
fix(codegen): attribute navigation to press/fill ( #34528 )
2025-01-28 17:59:16 -08:00
Pavel Feldman
391e9c4de0
fix(recorder): do not reset inspect highlight on inactivity ( #34526 )
2025-01-28 16:00:28 -08:00
Pavel Feldman
7060cd1bf7
chore: allow repetative application of rebaselines in the same session ( #34524 )
2025-01-28 14:37:47 -08:00
Pavel Feldman
7fd0c3e254
fix: follow the pseudo attr value in firefox computed style ( #34525 )
2025-01-28 14:37:04 -08:00
Adam Gastineau
63f96efbe0
feat(trace-viewer): display query string in network tab ( #34505 )
2025-01-28 05:19:30 -08:00
Vitaliy Potapov
61d595ae48
feat: add new config prop populateGitInfo ( #34329 )
...
Co-authored-by: Yury Semikhatsky <yurys@chromium.org>
2025-01-28 07:54:31 +00:00
Pavel Feldman
cea5dad686
chore: remove eslint-plugin-internal-playwright ( #34510 )
2025-01-27 20:13:27 -08:00
Pavel Feldman
ab01dccf9d
chore: clean up tool example ( #34512 )
2025-01-27 20:13:18 -08:00
Pavel Feldman
2c0576ea76
chore: mark tools package as private ( #34511 )
2025-01-27 15:32:45 -08:00
Pavel Feldman
bd2fdd0f20
chore: land experimental tools ( #34503 )
2025-01-27 14:49:38 -08:00
ReaZzy
eaaef29dbd
fix: add validations to --shard cli parameter ( #34463 ) ( #34479 )
2025-01-27 14:31:14 -08:00
Henrik Skupin
d63907fc5b
chore(bidi): Disable some external services for Firefox ( #34492 )
2025-01-27 13:17:03 -08:00
Dmitry Gozman
640e6a8aa7
chore: remove unused headers ( #34491 )
2025-01-27 09:58:19 +00:00
Pavel Feldman
245f4b5b86
fix: allow changed to be passed in config ( #34473 )
2025-01-24 15:42:58 -08:00
Playwright Service
3d9a9d2405
feat(firefox): roll to r1472 ( #34455 )
2025-01-24 15:17:14 -08:00
Playwright Service
c815d090bc
feat(firefox-beta): roll to r1468 ( #34454 )
2025-01-24 15:16:18 -08:00
Henrik Skupin
9d91d7a1e9
chore(firefox): Don't upgrade HTTP requests to HTTPS ( #34465 )
2025-01-24 13:36:23 -08:00
Adam Gastineau
b39c29d096
docs: remove toMatchAriaSnapshot path feature ( #34471 )
2025-01-24 21:16:58 +01:00
Yury Semikhatsky
dcff914040
chore(bidi): make browserType.connect work ( #34461 )
2025-01-24 09:09:57 -08:00
Playwright Service
bbd55587e4
feat(chromium): roll to r1156 ( #34464 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-24 15:40:46 +01:00
Adam Gastineau
f65dc0cee4
feat: toHaveURL predicate matcher ( #34413 )
2025-01-24 06:00:17 -08:00
Pavel Feldman
039f513744
docs: auto generate evaluate usage docs ( #34458 )
2025-01-23 12:11:54 -08:00
Playwright Service
04c03b998a
feat(webkit): roll to r2125 ( #34453 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-23 18:37:42 +01:00
Playwright Service
2cf6153d9f
feat(chromium-tip-of-tree): roll to r1297 ( #34451 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-23 16:40:15 +01:00
Dmitry Gozman
ab3b4b8cd0
fix(test runner): respect updateSourceMethod from the config ( #34442 )
2025-01-23 12:11:26 +00:00
Adam Gastineau
256dc47833
docs: switch gracefulShutdown to primarily mention SIGTERM and add Docker comment ( #34430 )
2025-01-22 09:49:34 -08:00
dependabot[bot]
a689e534ac
chore(deps): bump vite from 5.4.6 to 5.4.14 ( #34420 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-22 14:23:05 +01:00
Dmitry Gozman
cf90c0f122
fix(aria snapshot): make rebase work when options are specified ( #34409 )
2025-01-22 07:53:53 +00:00
Playwright Service
cf3bcd7d4a
feat(chromium-tip-of-tree): roll to r1296 ( #34414 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-22 08:21:47 +03:00
Dmitry Gozman
888feb06be
fix(list reporter): do not break after output without trailing eol ( #34410 )
2025-01-21 18:30:09 +00:00
Dmitry Gozman
333e994e7d
fix(step.skip): show a skipped indicator in UI mode ( #34407 )
2025-01-21 18:28:41 +00:00
Dmitry Gozman
e20b6d1617
feat(chromium-tip-of-tree): roll to r1295 ( #34372 )
2025-01-20 16:28:41 +00:00
Simon Knott
99fb188cb4
chore: move attachment link back to tree item, make it flash yellow ( #34353 )
2025-01-20 09:06:01 +01:00
Yury Semikhatsky
372d4196d7
chore: step timeout improvements ( #34386 )
2025-01-17 21:15:47 -08:00
Pavel Feldman
9970446f51
chore: remove toMatchAriaSnapshot.path ( #34379 )
2025-01-17 14:35:15 -08:00
Henrik Skupin
d082805ea9
chore(bidi): disable thottling of background tabs in Firefox ( #34381 )
2025-01-17 14:29:26 -08:00
Adam Gastineau
3c160df06a
chore: mark v1.51.0-next ( #34382 )
2025-01-17 12:34:59 -08:00
Pavel Feldman
1b21ec9cd8
chore: remove --save-trace codegen option ( #34362 )
2025-01-17 10:17:49 -08:00
Dmitry Gozman
07bcbcd1b4
feat(chromium): roll to r1155 ( #34371 )
2025-01-17 10:45:58 +00:00
Yury Semikhatsky
5438814975
chore: do not fall back to previous LTS release deps for new Ubuntu LTS ( #34360 )
2025-01-16 15:20:40 -08:00
Yury Semikhatsky
587e778a5a
Revert "feat(aria): extend toHaveAccessibleName() to accept an array … ( #34361 )
2025-01-16 15:04:56 -08:00
Pavel Feldman
3cf0461a1a
chore: fix the scrollable locator tab ( #34358 )
2025-01-16 13:20:20 -08:00
Adam Gastineau
84bbc5fd35
feat(trace-viewer): Render context string for most actions ( #34292 )
2025-01-16 11:48:34 -08:00
Dmitry Gozman
be6caed8df
chore: remove expectZone ( #34312 )
2025-01-16 18:53:32 +00:00
Pavel Feldman
08af3a2f06
chore: do not cache highlight agressively ( #34349 )
2025-01-16 08:27:48 -08:00
Yury Semikhatsky
00bb17751b
chore: delete recorder in traceviewer experiment ( #34347 )
2025-01-15 17:37:33 -08:00
Yury Semikhatsky
8d39c44b69
docs: improve toHaveClass paramter description ( #34345 )
2025-01-15 14:38:34 -08:00
Yury Semikhatsky
07f425434d
chore(bidi): support ControlOrMeta key ( #34341 )
2025-01-15 13:23:44 -08:00