Commit Graph

4123 Commits

Author SHA1 Message Date
Max Schmitt 5ceb61c497
chore: roll stable-test-runner to 1.52.0-beta-1744901303000.tgz (#35654) 2025-04-17 17:43:17 +02:00
Simon Knott 36a628d902
fix: expect.poll type with custom matcher (#35651) 2025-04-17 16:11:06 +02:00
Adam Gastineau 53abf161b0
chore: completely remove annotation warnings code (#35637) 2025-04-17 05:19:14 -07:00
Adam Gastineau 039e87f5cb
fix(blob): properly communicate attachments through blob merges (#35517) 2025-04-16 13:03:45 -07:00
Adam Gastineau 09529e9275
Revert "chore: add location named property to annotations (#35373)" (#35620) 2025-04-15 11:17:21 -07:00
Simon Knott cb2d94e467
chore: refactor error context (#35613) 2025-04-15 17:29:07 +02:00
Adam Gastineau 78600c60f8
chore: temporarily disable floating promise warning messages v2 (#35603) 2025-04-15 07:28:55 -07:00
Simon Knott 76ee48dc9d
chore: followup on static annotations (#35579)
Signed-off-by: Simon Knott <info@simonknott.de>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2025-04-15 09:07:42 +02:00
Yury Semikhatsky d79bb57ac1
chore(bidi): rename bidi-firefox-stable to moz-firefox channel (#35611) 2025-04-14 17:30:00 -07:00
Pavel Feldman 6262a1264f
chore: retry selecting option for the notconnected case (#35610) 2025-04-14 16:51:08 -07:00
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