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
7fd0c3e254
fix: follow the pseudo attr value in firefox computed style ( #34525 )
2025-01-28 14:37:04 -08:00
Dmitry Gozman
7fc252fffc
test: fetch request through socks proxy over ipv4 ( #34522 )
2025-01-28 17:05:12 +00: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
ReaZzy
eaaef29dbd
fix: add validations to --shard cli parameter ( #34463 ) ( #34479 )
2025-01-27 14:31:14 -08:00
Max Schmitt
bc1a8c2191
test: add test for fetch with keepalive: true on Firefox ( #34498 )
2025-01-27 15:39:59 +01:00
Max Schmitt
8d716b28a1
chore(bidi): use full test title in CSV expectations ( #34496 )
2025-01-27 14:17:47 +01:00
Pavel Feldman
245f4b5b86
fix: allow changed to be passed in config ( #34473 )
2025-01-24 15:42:58 -08:00
Alexandra Borovova
2afe287a81
Add canonical screenshots for firefox with webdriver bidi for screenshot element tests ( #34289 )
2025-01-24 15:15:24 -08:00
Yury Semikhatsky
fb145d5ebd
test: do not check deprecated KeyboardEvent.keyCode property ( #34472 )
2025-01-24 15:09:39 -08:00
Adam Gastineau
fccb2b0784
chore: fix codegen SIGINT test ( #34468 )
2025-01-24 14:21:42 -08:00
Yury Semikhatsky
dcff914040
chore(bidi): make browserType.connect work ( #34461 )
2025-01-24 09:09:57 -08:00
Adam Gastineau
c44590aa5b
chore: disable popover test on Darwin 13.7 WebKit ( #34466 )
2025-01-24 08:27:06 -08:00
Adam Gastineau
f65dc0cee4
feat: toHaveURL predicate matcher ( #34413 )
2025-01-24 06:00:17 -08:00
Yury Semikhatsky
f11768436a
chore: revert inadvertent test change ( #34459 )
2025-01-23 12:12:53 -08:00
Dmitry Gozman
ab3b4b8cd0
fix(test runner): respect updateSourceMethod from the config ( #34442 )
2025-01-23 12:11:26 +00:00
Henrik Skupin
34cb35859a
chore(bidi): simplify launcher tests for Firefox ( #34405 )
2025-01-22 13:06:24 -08:00
Adam Gastineau
a06600aee9
chore: roll stable-test-runner to: 1.50.0-beta-1737557690000 ( #34433 )
2025-01-22 12:46:25 -08:00
Dmitry Gozman
cf90c0f122
fix(aria snapshot): make rebase work when options are specified ( #34409 )
2025-01-22 07:53:53 +00: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
Simon Knott
99fb188cb4
chore: move attachment link back to tree item, make it flash yellow ( #34353 )
2025-01-20 09:06:01 +01:00
Max Schmitt
86768b9ebc
test: add test for consistent hyphen rendering in headless/headed ( #34159 )
2025-01-18 19:04:56 +03: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
Pavel Feldman
1b21ec9cd8
chore: remove --save-trace codegen option ( #34362 )
2025-01-17 10:17:49 -08:00
Pavel Feldman
b339d457e3
chore: dogfood jest-style aria snapshots ( #34365 )
2025-01-17 10:17:26 -08:00
Yury Semikhatsky
587e778a5a
Revert "feat(aria): extend toHaveAccessibleName() to accept an array … ( #34361 )
2025-01-16 15:04:56 -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
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
Dmitry Gozman
4d55d3039a
chore: better error message when CSS selector fails to parse ( #34331 )
2025-01-15 11:34:51 -08:00
Yury Semikhatsky
275f334b58
chore(step): remove step.fail and step.fixme, add step.skip ( #34326 )
2025-01-14 17:43:47 -08:00
Yury Semikhatsky
8699d3b9c5
test(bidi): create inspected page before initializing recorder ( #34323 )
2025-01-14 14:57:42 -08:00
Pavel Feldman
ad365c3bc3
chore: include child nodes when parsing snapshot ( #34318 )
2025-01-13 18:25:41 -08:00
Rui Figueira
9a9d22af44
feat(codegen): include framePath in jsonl format ( #34310 )
2025-01-13 17:32:26 -08:00
Julian Descottes
454b6f938d
test(bidi): Update browserName used for har file tests when using bidi ( #34313 )
2025-01-13 13:56:00 -08:00
Simon Knott
a33659f2a8
chore: move attachments link to step body ( #34196 )
2025-01-13 10:07:54 +01:00
Pavel Feldman
6179b5b1d7
chore: allow matching aria snapshot in trace viewer ( #34302 )
2025-01-11 10:14:21 -08:00
Pavel Feldman
0c8a6b80fb
chore: consolidate aria parser in isomorphic bundle ( #34298 )
2025-01-10 15:32:35 -08:00
Andrey Lushnikov
4bb464197f
test: unflake a few trace-viewer tests ( #34299 )
2025-01-10 14:57:50 -08:00
Andrey Lushnikov
2cd5003062
test: fix "should capture navigation" flakiness on firefox-headed ( #34291 )
2025-01-10 13:51:28 -08:00
Yury Semikhatsky
423005a7ab
chore(bidi): create parent dir for report.csv ( #34294 )
2025-01-10 13:43:43 -08:00
Dmitry Gozman
f0a3a15e93
chore: explicitly reset apiZone instead of everything ( #34265 )
2025-01-10 20:15:05 +00:00
Dmitry Gozman
1f2eb499d2
fix(aria snapshots): normalize whitespace ( #34285 )
2025-01-10 19:31:47 +00:00
Julian Descottes
4f3a5e2133
chore(bidi): Fix handling of cookie headers in network.continueRequest ( #34277 )
2025-01-10 11:06:26 -08:00