Dmitry Gozman
961daa99f0
Merge af40eae13e into 8eb816b363
2025-02-12 15:41:24 +00:00
Pavel Feldman
bd74fc4964
chore: move utils that are user in server to server/utils (2) ( #34736 )
2025-02-11 17:19:27 -08:00
Pavel Feldman
25a168fae5
chore: move utils that are user in server to server/utils (1) ( #34734 )
2025-02-11 15:40:41 -08:00
Yury Semikhatsky
934600b24b
test: reenable 2 screenshot tests on wk mac ( #34735 )
2025-02-11 15:21:15 -08:00
JacksonLei123
5a76b17c87
feat: add failOnStatusCode option to API request context ( #34346 )
2025-02-11 13:23:11 -08:00
Max Schmitt
416c9b3368
fix: allow relative userDataDir ( #34710 )
2025-02-11 17:40:00 +01:00
Pavel Feldman
2718ce7cbf
chore: short-cut localUtils usage in JS client ( #34690 )
2025-02-10 14:19:58 -08:00
Adam Gastineau
ad6444e14c
chore(test): perform action to guarantee URL updates ( #34714 )
2025-02-10 12:57:25 -08:00
Pavel Feldman
5d500dde22
chore: introduce platform for client (1) ( #34683 )
2025-02-10 10:22:32 -08:00
Adam Gastineau
4bc8cf0d47
feat(recorder): display primary page URL in recorder title ( #34637 )
2025-02-07 12:05:04 -08:00
Simon Knott
893e7bbf3b
chore: add _browserTypes helpers to playwright ( #34611 )
2025-02-07 15:43:08 +01:00
Simon Knott
902e83fe87
fix: allow opt out from IndexedDB in storagestate ( #34650 )
2025-02-06 16:40:14 +01:00
Dmitry Gozman
8d751cfe50
fix(fetch): filter out undefined params ( #34654 )
2025-02-06 15:16:45 +00:00
Simon Knott
365f411548
test(storageState): IndexedDB with keyPath ( #34648 )
2025-02-06 12:39:19 +01:00
Simon Knott
7aac96d780
chore: add encoded versions of IndexedDB key/value ( #34630 )
2025-02-06 09:48:30 +01:00
Simon Knott
311625b891
feat: recreate IndexedDB in storagestate ( #34591 )
2025-02-05 15:01:53 +01: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
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