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
96d4dc1eda
docs: add backlink from WebSocket to WebSockeRoute ( #34600 )
2025-02-03 19:42:38 +01:00
Yury Semikhatsky
f11f4a8477
docs: breaking changes in java 1.50 ( #34601 )
2025-02-03 09:39:33 -08:00
Adam Gastineau
5996a0df0a
Revert "Revert "chore(docs): clarify connection method via BrowserType.connect ( #34560 )" ( #34594 )" ( #34595 )
2025-02-03 06:21:00 -08:00
Max Schmitt
340834195b
docs: v1.50 release notes for ports ( #34592 )
...
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Simon Knott <info@simonknott.de>
2025-02-03 15:17:19 +01:00
Max Schmitt
3d5f85d7e4
Revert "chore(docs): clarify connection method via BrowserType.connect ( #34560 )" ( #34594 )
2025-02-03 14:24:33 +01: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
Playwright Service
36478f250a
feat(firefox): roll to r1474 ( #34587 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-03 12:04:12 +01:00
Playwright Service
162182b714
feat(firefox-beta): roll to r1470 ( #34589 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-03 10:47:37 +01:00
Yury Semikhatsky
cd7f3b6e65
devops: validate js code snippets in flint ( #34580 )
2025-01-31 16:52:55 -08:00
Yury Semikhatsky
a1451c75f8
feat: conditional step.skip() ( #34578 )
2025-01-31 15:45:57 -08:00
Yury Semikhatsky
da12af24c2
chore: harden trace file regex ( #34563 )
2025-01-31 15:34:53 -08:00
Playwright Service
399ba91150
feat(chromium-tip-of-tree): roll to r1299 ( #34569 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-31 19:35:12 +01:00
Playwright Service
64f8689a81
feat(chromium): roll to r1157 ( #34571 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-31 13:15:40 +01:00
GeneratorX16
4fa1d39c80
fix: Reverse Lumia 550 and Lumia 550 Landscape viewports ( #34548 )
2025-01-30 13:57:43 -08:00
Adam Gastineau
1936cfa6c3
chore(docs): clarify connection method via BrowserType.connect ( #34560 )
2025-01-30 12:31:59 -08:00
Debbie O'Brien
d288fbcc41
docs: Improve aria snapshots documentation clarity and examples ( #34509 )
...
Signed-off-by: Debbie O'Brien <debs-obrien@users.noreply.github.com>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2025-01-30 20:07:48 +00:00
Dmitry Gozman
ab62ef2dbb
fix(toMatchAriaSnapshot): fail test run when updating missing snapshot ( #34556 )
2025-01-30 19:18:07 +00:00
Adam Gastineau
5afb04b62e
fix(ui): add proper CORS header for loading traces in HMR mode ( #34558 )
2025-01-30 09:20:43 -08:00
Max Schmitt
833c729eb0
docs: roll follow-ups for .NET and Python ( #34550 )
2025-01-30 12:06:56 +01: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
Adam Gastineau
f15171bcf0
fix(ui): don't display "Timed Out" when executing action ( #34541 )
2025-01-29 12:39:05 -08:00
Dmitry Gozman
ba650161a8
feat: per-assertion snapshot path template in config ( #34537 )
2025-01-29 18:47:20 +00:00
Playwright Service
b552637ee0
feat(chromium-tip-of-tree): roll to r1298 ( #34540 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-29 18:29:23 +01:00
Dmitry Gozman
24f06ec1bf
feat(html report): show metadata ( #34517 )
2025-01-29 16:22:50 +00:00
Max Schmitt
6c2c90203e
devops(gha): allow workflow_dispatch in roll browser script ( #34531 )
...
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2025-01-29 17:16:50 +01: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
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
Danilo Akamine
b27945d045
docs: remove duplicate reference ( #34513 )
2025-01-28 22:33:04 +01:00
Dmitry Gozman
7fc252fffc
test: fetch request through socks proxy over ipv4 ( #34522 )
2025-01-28 17:05:12 +00: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
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
Max Schmitt
52580d640d
Revert "fix(ci): Prevent workflows from automatically running on forks ( #34408 )" ( #34488 )
2025-01-27 14:03:19 +01: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