Dmitry Gozman
af40eae13e
chore: make noWaitAfter a default
...
This changes the last actions, namely `click` and `press`, to not wait
for the ongoing navigations after the action.
Maintaining this behavior becomes tricky, because browsers move away from
guaranteed synchronous navigations to optimized performance. See #34377
for more details.
This is technically a breaking change. Most of the time, this should
not be noticeable, because the next action will auto-wait the navigation
and for any required conditions anyway. However, there are some patterns
revealed by our tests that are affected:
- Calling `goBack/goForward` immediately after an action. This pattern
requires `expect(page).toHaveURL()` or a similar check inbetween.
- Listening for network events during the action, and immediately
asserting after the action. This pattern requires `waitForRequest()`
or a similar promise-based waiter as recommended in best practices.
We maintain the opt-out `env.PLAYWRIGHT_WAIT_AFTER_CLICK` that reverts
to the old behavior for now.
Additionally, previous opt-out option `env.PLAYWRIGHT_SKIP_NAVIGATION_CHECK`
has been removed, because there have been just a single issue with it,
that was immediately addressed in a patch release.
2025-02-04 15:17:43 +00:00
Simon Knott
ebf82b0854
test: ensure that attachments are available in onStepEnd ( #34590 )
2025-02-03 13:54:28 +01:00
Max Schmitt
4e2d82e6c2
test: add test for color input click behavior ( #34156 )
2025-02-03 13:30:54 +01:00
Yury Semikhatsky
a1451c75f8
feat: conditional step.skip() ( #34578 )
2025-01-31 15:45:57 -08:00
GeneratorX16
4fa1d39c80
fix: Reverse Lumia 550 and Lumia 550 Landscape viewports ( #34548 )
2025-01-30 13:57:43 -08:00
Dmitry Gozman
ab62ef2dbb
fix(toMatchAriaSnapshot): fail test run when updating missing snapshot ( #34556 )
2025-01-30 19:18:07 +00:00
Pavel Feldman
eff5cd6dbb
fix(aria): disregard text area textContent ( #34544 )
2025-01-29 16:06:07 -08:00
Pavel Feldman
4b5b326478
chore: do not show steps in line reporter without tty ( #34529 )
2025-01-29 12:41:09 -08:00
Dmitry Gozman
ba650161a8
feat: per-assertion snapshot path template in config ( #34537 )
2025-01-29 18:47:20 +00:00
Dmitry Gozman
24f06ec1bf
feat(html report): show metadata ( #34517 )
2025-01-29 16:22:50 +00:00
Dmitry Gozman
7d8265e610
Revert "Reapply "fix(har timing): record connect timing for proxied connections" ( #32855 ) ( #33003 )" ( #34535 )
2025-01-29 14:51:31 +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