4113 Commits

Author SHA1 Message Date
Marcin Szafranek
b32a9a05e2
docs(test-assertions): optimize custom matcher to handle negative assertions efficiently (#35599) 2025-04-14 12:07:01 -07:00
microsoft-playwright-automation[bot]
4e3b01ff83
feat(webkit): roll to r2156 - enable Skia on Windows (#35595) 2025-04-14 10:05:04 -07:00
Yury Semikhatsky
adfad84bb8
fix: do not pass unsafe matcherResult over IPC (#35565) 2025-04-10 14:39:33 -07:00
Yury Semikhatsky
24699d6bd0
fix: timeout error when downloading browsers (#35564) 2025-04-10 13:55:49 -07:00
Dmitry Gozman
6c3e507dcb
test: unskip routing test in firefox after roll to 1482 (#35576) 2025-04-10 16:30:12 +01:00
Dmitry Gozman
51a7b8f27f
test: unflake some network-tab related tests (#35574) 2025-04-10 15:18:34 +01:00
Simon Knott
eed11cabb4
chore: improve view trace button (#35528) 2025-04-10 14:07:00 +02:00
Simon Knott
f31e05bd07
chore(html): open path attachments in new tab (#35508) 2025-04-10 11:47:22 +02:00
Dmitry Gozman
c9a1ad4d8d
chore: use a singleton "builtins" instead of passing it around (#35493) 2025-04-10 09:30:39 +01:00
Yury Semikhatsky
c84bb713a6
chore(bidi): consider dymamic annations for .csv report (#35560) 2025-04-09 15:50:27 -07:00
Max Schmitt
9c01e1cbc8
test: skip 'should use http proxy for websocket requests on macOS 13 (#35563) 2025-04-09 23:21:03 +02:00
Yury Semikhatsky
aafb068a75
docs(bidi): update readme with new vars (#35559) 2025-04-09 10:22:42 -07:00
Max Schmitt
01282e9462
test: skip 'propagate headers cross origin redirect after interception' on Android (#35556) 2025-04-09 17:20:13 +02:00
Max Schmitt
22e134e280
chore: introduce expect.toContainClass (instead of partial: true) (#35551)
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2025-04-09 14:47:22 +02:00
Max Schmitt
a8314361b0
test: adjust windows WebSocket test expectation (#35553) 2025-04-09 14:36:05 +02:00
Dmitry Gozman
a6d5c981af
Revert "feat: support proxy in connect/connectOverCDP (#35389)" (#35542) 2025-04-08 21:10:38 +01:00
Adam Gastineau
8beaf3c383
feat: display warnings only on test failure (#35464) 2025-04-08 07:34:12 -07:00
Max Schmitt
93d0bc4bab
Revert "test: roll Android WebView to ToT (#35456)" (#35539) 2025-04-08 16:11:44 +02:00
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