Dmitry Gozman
961daa99f0
Merge af40eae13e into 8eb816b363
2025-02-12 15:41:24 +00:00
Dmitry Gozman
3e976e9f10
chore(chromium): re-enable PlzDedicatedWorker feature ( #34400 )
2025-02-12 13:22:35 +00:00
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
5d82567346
feat: emulate prefers-contrast ( #34494 )
2025-02-04 11:15:51 +01:00
Pavel Feldman
eff5cd6dbb
fix(aria): disregard text area textContent ( #34544 )
2025-01-29 16:06:07 -08: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
Max Schmitt
bc1a8c2191
test: add test for fetch with keepalive: true on Firefox ( #34498 )
2025-01-27 15:39:59 +01: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
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
Yury Semikhatsky
587e778a5a
Revert "feat(aria): extend toHaveAccessibleName() to accept an array … ( #34361 )
2025-01-16 15:04:56 -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
Pavel Feldman
ad365c3bc3
chore: include child nodes when parsing snapshot ( #34318 )
2025-01-13 18:25:41 -08:00
Pavel Feldman
0c8a6b80fb
chore: consolidate aria parser in isomorphic bundle ( #34298 )
2025-01-10 15:32:35 -08: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
Pavel Feldman
13bdd3c92f
feat(toBeChecked): allow indeterminate expectation ( #34269 )
2025-01-09 18:18:15 -08:00
Yury Semikhatsky
6fb6282a9d
chore(bidi): propertly dispatch ControlRight key event ( #34246 )
2025-01-07 16:46:44 -08:00
Pavel Feldman
0d34369fc0
chore: include actual value in the elementState ( #34245 )
2025-01-07 15:31:18 -08:00
Yury Semikhatsky
0008816ee3
test: reenable "return empty content there is no iframe src" in cr and ff ( #34241 )
2025-01-07 11:49:14 -08:00
Pavel Feldman
7923d35e32
fix(retarget): do not unconditionally retarget to enclosing label ( #34229 )
2025-01-07 11:15:00 -08:00
Pavel Feldman
9514f0fb9d
fix(aria): escape leading dash in property values ( #34227 )
2025-01-07 11:14:45 -08:00
Pengoose
7f141b2c42
feat: expect(locator).toHaveAccessibleErrorMessage ( #33904 )
2024-12-27 09:54:16 +00:00
Adam Gastineau
875436855e
chore(lint): Ensure EOL newlines ( #34117 )
2024-12-20 09:17:09 -08:00
Pavel Feldman
6505a3e34c
fix(yaml): escape to disambiguate yaml arrays ( #34096 )
2024-12-19 12:46:54 -08:00
Pavel Feldman
94d0fc780d
chore: make visible=false work ( #34040 )
2024-12-16 14:14:51 -08:00
Yury Semikhatsky
369f4b76b3
fix: throw an error when object reference chain is to long to serialize ( #34008 )
2024-12-13 13:38:26 -08:00
Yury Semikhatsky
76d46d478f
fix: text-is() should ignore comments ( #33980 )
2024-12-12 17:49:31 -08:00
Pavel Feldman
acf1107220
chore: ignore checkbox/radio value in aria ( #33941 )
2024-12-10 14:04:18 -08:00
Dmitry Gozman
a84488edaa
fix(aria): escape even more yaml ( #33793 )
2024-11-28 03:21:52 -08:00
Dmitry Gozman
f123f7ac69
fix: isEditable/toBeEditable throw for elements that cannot be editable/readonly ( #33713 )
2024-11-22 03:40:43 -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
Max Schmitt
6a32589330
test: update 'should work for canvas' test expectation ( #33685 )
2024-11-20 17:13:07 +01:00
Pavel Feldman
b40889d1a8
chore: escape more yaml values ( #33686 )
2024-11-19 17:09:49 -08:00
Yury Semikhatsky
6d71805f4a
fix: do not send favicon request to network when interception is on ( #33639 )
2024-11-18 11:01:39 -08:00
aairiian
7f054ef8c6
feat(aria): extend toHaveAccessibleName() to accept an array of expected accessible names ( #33277 )
2024-11-18 07:46:47 -08:00
Yury Semikhatsky
e24780f825
chore: unshift shortest whitespace prefix only ( #33618 )
2024-11-15 12:47:25 -08:00
Dmitry Gozman
2aa9e11a7f
fix(aria): normalize whitespace in toMatchAccessible{Name,Description} ( #33619 )
2024-11-15 02:49:03 -08:00
Yury Semikhatsky
a8af7cc435
chore: remove macOS <=12 checks ( #33591 )
2024-11-13 17:21:21 -08:00
Dmitry Gozman
f54d3f44c2
chore: download and launch chromium-headless-shell for headless chromium ( #33454 )
2024-11-13 02:52:28 -08:00
Dmitry Gozman
33f9c8279c
chore: more aria snapshot fixes ( #33534 )
2024-11-12 02:26:54 -08:00
Pavel Feldman
503f74da90
chore: allow editing aria template in recorder (tests) ( #33522 )
2024-11-08 17:18:51 -08:00
Dmitry Gozman
c29f573243
fix(aria snapshot): assorted fixes ( #33512 )
2024-11-08 10:25:05 -08:00
Pavel Feldman
b021b58379
chore: allow editing aria template in recorder ( #33482 )
2024-11-08 07:43:01 -08:00
Dmitry Gozman
43e4ba9f2f
fix(click): better compensate for integer click coordinates in firefox ( #33467 )
2024-11-07 00:01:00 -08:00
Pavel Feldman
2f8a14c6e2
test: cover more aria escaping edge cases ( #33463 )
2024-11-06 08:31:32 -08:00
Pavel Feldman
d4ad520a9b
chore: fix more aria escaping edge cases ( #33460 )
2024-11-05 16:22:02 -08:00
Pavel Feldman
a655b0bfb3
chrome: aria api review ( #33458 )
2024-11-05 15:23:38 -08:00