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
Max Schmitt
4e2d82e6c2
test: add test for color input click behavior ( #34156 )
2025-02-03 13:30:54 +01:00
GeneratorX16
4fa1d39c80
fix: Reverse Lumia 550 and Lumia 550 Landscape viewports ( #34548 )
2025-01-30 13:57:43 -08: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
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
Adam Gastineau
fccb2b0784
chore: fix codegen SIGINT test ( #34468 )
2025-01-24 14:21:42 -08:00
Adam Gastineau
c44590aa5b
chore: disable popover test on Darwin 13.7 WebKit ( #34466 )
2025-01-24 08:27:06 -08:00
Henrik Skupin
34cb35859a
chore(bidi): simplify launcher tests for Firefox ( #34405 )
2025-01-22 13:06:24 -08:00
Max Schmitt
86768b9ebc
test: add test for consistent hyphen rendering in headless/headed ( #34159 )
2025-01-18 19:04:56 +03:00
Pavel Feldman
1b21ec9cd8
chore: remove --save-trace codegen option ( #34362 )
2025-01-17 10:17:49 -08:00
Adam Gastineau
84bbc5fd35
feat(trace-viewer): Render context string for most actions ( #34292 )
2025-01-16 11:48:34 -08:00
Yury Semikhatsky
00bb17751b
chore: delete recorder in traceviewer experiment ( #34347 )
2025-01-15 17:37:33 -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
8699d3b9c5
test(bidi): create inspected page before initializing recorder ( #34323 )
2025-01-14 14:57:42 -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
Pavel Feldman
6179b5b1d7
chore: allow matching aria snapshot in trace viewer ( #34302 )
2025-01-11 10:14:21 -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
Adam Gastineau
a2e2dfd446
feat: Enable snapshots for most remaining public commands ( #34072 )
2025-01-10 05:04:44 -08:00
Alexandra Borovova
c465e21161
chore(bidi): add missing canonical screenshots for tests running with Firefox and WebDriver BiDi ( #34257 )
2025-01-09 10:36:59 -08:00
Yury Semikhatsky
edfbab2a79
fix: dispatch touch events in webkit ( #34250 )
2025-01-08 11:06:30 -08:00
Dmitry Gozman
7ee7e018fa
chore: update chrome extensions doc and tests ( #34236 )
2025-01-08 17:24:29 +00:00
Adam Gastineau
ada68cd6f0
feat(trace-viewer): Add setting for display canvas content in snapshots ( #34010 )
2025-01-08 05:08:00 -08:00
Dmitry Gozman
eeca68ba97
test: unflake some cookie tests in msedge ( #34217 )
2025-01-05 18:19:28 +00:00
Yury Semikhatsky
8b45ea6f2f
chore: properly initialize Touch arguments in TouchEvent ( #34200 )
2025-01-03 12:16:01 -08:00
Max Schmitt
175f05cafc
test: increase page-event-crash timeout ( #34178 )
2025-01-02 16:04:51 +01:00
Dmitry Gozman
9dbe63636d
fix(routeWebSocket): should work after context reuse ( #34165 )
2024-12-30 10:00:10 -08:00
Adam Gastineau
875436855e
chore(lint): Ensure EOL newlines ( #34117 )
2024-12-20 09:17:09 -08:00
Adam Gastineau
05472f5ef6
feat: Add time information to Call and Network tabs in Trace Viewer ( #33935 )
2024-12-20 05:01:16 -08:00
Pavel Feldman
04e670c909
fix(locator): do not explode locators ( #34104 )
2024-12-19 15:34:54 -08:00
Rui Figueira
c2d057ba23
chore: add url option to routeFromHAR call if codegen launched with --save-har-glob ( #34048 )
2024-12-18 13:34:06 -08:00
Pavel Feldman
3a10c32d8a
chore: report highlight parse error to debug controller ( #33984 )
2024-12-13 16:10:59 -08:00
Rui Figueira
c700a8405c
feat(trace-viewer): render iframe canvas in trace viewer ( #33809 )
2024-12-13 16:28:06 +01:00
Yury Semikhatsky
0034c6b984
fix: parse locator with empty options ( #33990 )
2024-12-12 17:49:48 -08:00
Pavel Feldman
29fd2df124
chore: send aria snapshot to the debug controller ( #33969 )
2024-12-12 08:21:53 -08:00
Pavel Feldman
0e2b984287
chore: prioritize role over label and placeholder ( #33970 )
2024-12-12 08:21:00 -08:00
Max Schmitt
8d57b7543e
chore: introduce chromium-tip-of-tree-headless-shell ( #33964 )
2024-12-11 18:11:33 -08:00
Pavel Feldman
4bcf505e19
chore: prefer generating role with text to css with text ( #33942 )
2024-12-10 16:03:33 -08:00
Simon Knott
4914f34a83
fix(recorder): allow clearing when recording is disabled ( #33821 )
2024-12-06 10:17:06 -08:00
Yury Semikhatsky
733f9a2926
chore: pdf generation now works in headed mode too ( #33879 )
2024-12-05 17:53:31 -08:00
Dmitry Gozman
be78e9e11f
fix: do not stall waiting for pending navigations after beforeunload dismiss ( #33834 )
2024-12-03 15:55:45 -08:00
Dmitry Gozman
b5bd543cc6
test: skip 'should not auto play audio' with frozen time ( #33799 )
2024-11-28 06:36:49 -08:00
Yury Semikhatsky
66f709663e
fix(webkit): do not auto play audio without user gesture ( #33734 )
2024-11-22 14:53:29 -08:00
Dmitry Gozman
7e09aa07de
feat(trace): preserve the open state of popovers ( #33728 )
2024-11-22 09:35:19 -08:00
Max Schmitt
5da0b94357
feat(webkit): roll to r2108 ( #33710 )
...
Co-authored-by: Yury Semikhatsky <yurys@chromium.org>
2024-11-21 14:42:21 -08:00
Simon Knott
1d3605d1fc
feat(trace viewer): add "Copy as Playwright Request" button ( #33298 )
2024-11-20 10:16:43 +01:00
Dmitry Gozman
6e19bc341f
fix(role): ignore invalid aria-labelledby attributes ( #33667 )
2024-11-19 03:56:16 -08:00