14394 Commits

Author SHA1 Message Date
Yury Semikhatsky
4d0c33bc4e
docs: comparison table for global setups (#35548) 2025-04-09 10:08:07 -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
Max Schmitt
b7799f3293
chore: fix 'npm run watch' memory leak in esbuild (#35547) 2025-04-08 23:16:42 +02:00
Dmitry Gozman
a6d5c981af
Revert "feat: support proxy in connect/connectOverCDP (#35389)" (#35542) 2025-04-08 21:10:38 +01:00
Dmitry Gozman
0e964e2b99
chore: remove FullConfig.failOnFlakyTests (#35541) 2025-04-08 17:13:54 +01:00
Adam Gastineau
8beaf3c383
feat: display warnings only on test failure (#35464) 2025-04-08 07:34:12 -07:00
Simon Knott
22f8f21a30
chore(docs): browser locale vs user locale (#35535) 2025-04-08 16:12:40 +02:00
Max Schmitt
93d0bc4bab
Revert "test: roll Android WebView to ToT (#35456)" (#35539) 2025-04-08 16:11:44 +02:00
Max Schmitt
3b70f95b17
fix(android): do not report all artifactsDirs as errors (#35530) 2025-04-08 12:08:21 +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
Alex Rudenko
668bf580d7
chore: bump chromium-bidi (#35513) 2025-04-08 11:28:14 +02:00
Max Schmitt
aa221cbe37
devops: allow manual trigger of bidi tests (#35529) 2025-04-08 10:40:15 +02:00
Dmitry Gozman
4c85672f02
fix(role): <input type=file> should be a button (#35514) 2025-04-08 09:02:19 +01:00
dependabot[bot]
6ff0c666fb
chore(deps): bump actions/create-github-app-token from 1 to 2 in the actions group (#35524)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-08 09:09:15 +02: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
Dmitry Gozman
650af1726b
chore: add more logging to gitCommitInfo plugin (#35512) 2025-04-07 11:25:56 -07:00
Max Schmitt
5fce12dcca
devops: fix bidi trigger (#35519)
Signed-off-by: Max Schmitt <max@schmitt.mx>
2025-04-07 18:15:54 +02:00
microsoft-playwright-automation[bot]
438394cd6a
feat(chromium): roll to r1168 (#35516)
Co-authored-by: microsoft-playwright-automation[bot] <203992400+microsoft-playwright-automation[bot]@users.noreply.github.com>
2025-04-07 16:51:56 +02:00
Max Schmitt
ab5f4639ca
devops: run bidi tests on CQ-bidi label (#35515)
Signed-off-by: Max Schmitt <max@schmitt.mx>
2025-04-07 16:36:00 +02:00
microsoft-playwright-automation[bot]
22fcf6ea81
feat(firefox): roll to r1481 (#35506)
Co-authored-by: microsoft-playwright-automation[bot] <203992400+microsoft-playwright-automation[bot]@users.noreply.github.com>
2025-04-07 13:27:32 +02:00
Simon Knott
a2ddb2a3ea
fix: contrast on View Trace button (#35505) 2025-04-07 11:30:04 +02:00
Ekwinder
aec54fa573
docs(python): Add await to response.json() for async ApiResponse class example (#35503) 2025-04-07 08:56:25 +02:00
microsoft-playwright-automation[bot]
54a9ae2b8d
feat(firefox-beta): roll to r1476 (#35492) 2025-04-04 13:31:29 -07:00
Yury Semikhatsky
0acedf1ca2
fix: markdown report publishing (#35500) 2025-04-04 13:30:33 -07:00
microsoft-playwright-automation[bot]
878e56c87e
feat(firefox): roll to r1480 (#35491) 2025-04-04 13:04:35 -07:00
dependabot[bot]
ef4421c07b
chore(deps): bump vite from 6.2.4 to 6.2.5 (#35495) 2025-04-04 13:01:53 -07: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
microsoft-playwright-automation[bot]
02a82c9f62
feat(chromium-tip-of-tree): roll to r1320 (#35490)
Co-authored-by: microsoft-playwright-automation[bot] <203992400+microsoft-playwright-automation[bot]@users.noreply.github.com>
2025-04-04 17:07:32 +02:00
Yury Semikhatsky
1e04b697ab
devops: use esbuild instead of babel (#35467) 2025-04-03 22:40:35 -07:00
Pavel Feldman
26fa959a10
chore: allow matching aria children strictly (#35481) 2025-04-03 17:58:20 -07:00
Yury Semikhatsky
3eab92d312
chore: move github action deps to playwright-dashboard (#35484) 2025-04-03 16:31:59 -07:00
Yury Semikhatsky
b8a0d5f6cd
chore: move injected scripts into packages/injected (#35483) 2025-04-03 16:09:03 -07:00
Yury Semikhatsky
43622f567f
chore: remove unused eslint-disable directives (#35482) 2025-04-03 15:22:14 -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
Max Schmitt
01ea1cafdc
devops: remove PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD env var (#35473) 2025-04-03 12:18:11 +02:00
Max Schmitt
482e929df7
devops: do not download browsers during 'npm run lint' (#35474) 2025-04-03 12:17:57 +02:00
Max Schmitt
2d65457db1
devops: remove unnecessary install-deps (#35471) 2025-04-03 11:54:39 +02: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
Yury Semikhatsky
b92e81c205
chore: fix typo in merge.config (#35462) 2025-04-02 09:48:45 -07:00