Simon Knott
265e733752
test: add repro for broken cookies in frames in webkit on linux ( #35510 )
...
Signed-off-by: Simon Knott <info@simonknott.de>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2025-04-08 11:33:18 +02:00
Simon Knott
815938b065
chore(aria): always include iframe ( #35527 )
2025-04-08 11:32:59 +02:00
Dmitry Gozman
4c85672f02
fix(role): <input type=file>
should be a button ( #35514 )
2025-04-08 09:02:19 +01:00
Yury Semikhatsky
9d30505472
chore(bidi): use channel for preinstalled browsers, env for downloaded ( #35523 )
2025-04-07 16:55:02 -07:00
Max Schmitt
76d5b8778c
fix: update performance.now() when calling in a busy loop ( #35435 )
2025-04-07 22:40:58 +02:00
Max Schmitt
9cb05c56f5
fix(tests): correct timeout duration in clock pause test ( #35522 )
2025-04-07 22:38:10 +02:00
Yury Semikhatsky
96f8b17018
test: enable some getSelection tests in WebKit ( #35498 )
2025-04-04 12:26:55 -07:00
Andrey Lushnikov
f396bf2236
test: add regression test for bug 33561 ( #35006 )
2025-04-04 10:46:57 -07:00
Pavel Feldman
26fa959a10
chore: allow matching aria children strictly ( #35481 )
2025-04-03 17:58:20 -07:00
Yury Semikhatsky
b8a0d5f6cd
chore: move injected scripts into packages/injected ( #35483 )
2025-04-03 16:09:03 -07:00
Yury Semikhatsky
f9d9c5c512
chore: merge server/isomorphic into utils/isomorphic ( #35480 )
2025-04-03 13:36:50 -07:00
Dmitry Gozman
372f87339f
test: update "should create two pages in parallel" to include more scenarios ( #35475 )
2025-04-03 21:34:06 +01:00
Pavel Feldman
effb64cdf4
chore: account for the aria disabled parent ( #35430 )
2025-04-03 12:53:01 -07:00
Adam Gastineau
26b9441d86
fix(uimode): show trace failure and any error messages on missing trace ( #35344 )
2025-04-03 11:13:19 -07:00
Simon Knott
bc0d2c57e5
fix(html): falsy description shouldnt crash ( #35470 )
2025-04-03 11:44:22 +02:00
Yury Semikhatsky
19d0d54e66
chore: move markdown reporter to playwright-dashboard ( #35465 )
2025-04-02 17:26:33 -07:00
Yury Semikhatsky
6c5f3bbe39
chore: show snapshot for test.step ( #35445 )
...
We don't take before/after snapshot for `test.step`. To approximate the snapshots we could take either snapshots from the nested actions or from the outer ones. The current logic is the following:
**beforeSnapshot:**
- `beforeSnapshot` is always taken from the last finished action before the step. It also works nice for the actions without nested actions, such as simple `expect(1).toBe(1);`
**afterSnapshot:**
- We always use `afterSnapshot` from a "nested" action, if there is one. It is exactly what we want for `test.step` and it is acceptable for other actions.
- If there are no "nested" actions, use the `beforeSnapshot`
- works best for simple `expect(a).toBe(b);` case
- `test.step` without children with snapshot is likely a step with a bunch of `expect(a).toBe(b);` and the same logic as for single expect applies.
Fixes https://github.com/microsoft/playwright/issues/35285
2025-04-02 13:22:16 -07:00
Simon Knott
1206ef64e7
chore(html): render locator.fill value ( #35457 )
2025-04-02 15:40:37 +02:00
Adam Gastineau
92c5d656ab
chore: add location named property to annotations ( #35373 )
2025-04-02 06:29:22 -07:00
Max Schmitt
67d92f0f10
test: roll Android WebView to ToT ( #35456 )
2025-04-02 12:31:34 +02:00
Yury Semikhatsky
dbd3b6753c
chore: move GHA markdown reporter to playwright-dashboard ( #35448 )
2025-04-01 16:48:57 -07:00
Yury Semikhatsky
6c22b8425f
chore(bidi): increase global timeout to 90min ( #35428 )
2025-03-31 12:08:55 -07:00
Adam Gastineau
7f2ceda249
Revert "chore: temporarily disable floating promise warning messages ( #34957 ) ( #35374 )
2025-03-31 07:16:00 -07:00
Mark Skelton
3d603d1e5c
feat(html): add NOT filtering to HTML reporter ( #35390 )
2025-03-31 14:18:13 +01:00
Max Schmitt
fffd87af1d
test: add test for android cookies on webview ( #35399 )
2025-03-31 09:31:44 +02:00
Max Schmitt
81c6af0cc6
chore: remove unused 'x-playwright-reuse-context' header ( #35414 )
2025-03-31 09:28:09 +02:00
Yury Semikhatsky
e2c8163b14
devops: add GitHub actions markdown reporter ( #35406 )
2025-03-28 15:32:59 -07:00
Chris
fbf519c5a5
feat(html-reporter): Add extra space after any special token ( #35365 )
2025-03-28 14:47:08 +01:00
alscotty
cb7f1121ee
feat(trace-viewer): add copy to clipboard button of snapshot url on hover ( #35213 ) ( #35255 )
...
Co-authored-by: Max Schmitt <max@schmitt.mx>
2025-03-28 14:39:29 +01:00
Simon Knott
2f3fe8f113
feat(prompt): link to error prompt in terminal ( #35341 )
2025-03-28 13:42:18 +01:00
Dmitry Gozman
471a28e0d5
feat: support proxy in connect/connectOverCDP ( #35389 )
2025-03-28 12:03:54 +00:00
Simon Knott
e3bb687cfc
feat: include iframes in aria snapshots with ref
( #35396 )
2025-03-28 12:46:20 +01:00
Simon Knott
8896454cdf
fix(prompt): take snapshot for unclosed contexts as well ( #35387 )
...
Signed-off-by: Simon Knott <info@simonknott.de>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2025-03-27 16:25:46 +01:00
Dmitry Gozman
89386628db
test: check that browsers use proxy for websocket requests ( #35348 )
2025-03-26 21:33:53 +00:00
Simon Knott
3340855109
chore: support typed arrays in indexeddb ( #34949 )
2025-03-26 18:04:45 +01:00
Simon Knott
febb95a638
chore: highlight "view trace" on failing tests ( #35342 )
2025-03-26 16:27:48 +01:00
Simon Knott
45fa3d17fc
feat: split up static and dynamic annotations ( #35292 )
...
Signed-off-by: Simon Knott <info@simonknott.de>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2025-03-26 11:33:18 +01:00
Adam Gastineau
714d5d1b1e
chore: provide more actionable error messages when serializing values ( #35297 )
2025-03-25 10:32:44 -07:00
Dmitry Gozman
273df454e0
test: unskip "calling window.stop sync" ( #35346 )
2025-03-25 15:23:34 +00:00
Dmitry Gozman
0467c28722
chore: builtins ( #35197 )
2025-03-25 13:49:28 +00:00
Simon Knott
87bc0f48ef
chore: provide error context to test server ( #35339 )
2025-03-25 14:07:02 +01:00
Yury Semikhatsky
8eea065aeb
test: enable route.continue cookie tests in firefox ( #35320 )
2025-03-21 11:35:06 -07:00
Simon Knott
53ed2f601b
fix(library): indexedDB shouldn't stumble over null
in Firefox ( #35308 )
2025-03-21 10:24:28 +01:00
Yury Semikhatsky
b83e0af11a
fix: do not allow to override cookie header ( #35168 )
...
Behavior before this PR regarding 'Cookie' header already varied between browsers:
- Chromium would not respect the 'Cookie' header if there was one with the same name in its cookie jar. If there was no corresponding cooke in the cookie jar, Chromium would apply one from the overrides.
- WebKit would always take one from the cookie jar.
To override cookies `addCookies` should be used instead.
See https://docs.google.com/document/d/1LXMSP4GVxFLYJxA6z4upKqwkgD-TnVCGeX-daS4VQjk/edit?usp=sharing for mode details.
Reference https://github.com/microsoft/playwright/issues/35154
2025-03-20 16:35:03 -07:00
Max Schmitt
fbffb8152f
chore: add toHaveClass partial option ( #35229 )
2025-03-20 21:20:50 +01:00
Dmitry Gozman
7cada0322a
fix(test runner): disregard native typescript execution in Node.js ( #35300 )
2025-03-20 19:17:17 +00:00
Yury Semikhatsky
f49f52248d
test: adjust unsafe headers test for electron, channels ( #35237 )
2025-03-17 11:41:55 -07:00
Max Schmitt
16468e65bd
test: isolate Electron userDataDir per-test ( #35235 )
2025-03-17 19:41:44 +01:00
Dmitry Gozman
195fe11e1b
fix(trace viewer): preserve dialog.showModal() elements ( #35231 )
2025-03-17 14:57:43 +00:00
Chris
beea7c30c5
feat: Add maxRedirects to options of apiRequest.newContext ( #35160 )
2025-03-17 13:47:52 +00:00