Commit Graph

14361 Commits

Author SHA1 Message Date
microsoft-playwright-automation[bot] b77a1f79fc feat(chromium): roll to r1166 2025-04-04 15:10:29 +00: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
dependabot[bot] b6d3ffa367
chore(deps): bump vite from 6.2.3 to 6.2.4 (#35427)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-02 18:37:09 +02: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
Max Schmitt 788067bec7
chore: do not build playwright-client twice (#35454) 2025-04-02 12:31:15 +02:00
Yury Semikhatsky dbd3b6753c
chore: move GHA markdown reporter to playwright-dashboard (#35448) 2025-04-01 16:48:57 -07:00
Adam Gastineau 3ad5c2731a
chore(infra): allow builds to succeed in spite of audit failures (#35442) 2025-04-01 18:35:06 +02:00
Adam Gastineau 16f634649f
fix(reporter): remove stale annotations from JsonTestEnd (#35426) 2025-04-01 05:28:30 -07:00
Max Schmitt 49c13a0788
chore: opt-out of installation lock by default (#35436) 2025-04-01 13:10:11 +02:00
Max Schmitt 6405dace36
chore(driver): replace legacy --production with --omit=dev (#35437) 2025-04-01 11:19:11 +02:00
Jean-François Greffier 468ea7672d
docs: improve execution modes (#35412)
Signed-off-by: Jean-François Greffier <jfgreffier@users.noreply.github.com>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2025-04-01 10:00:04 +01: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
Chris aa278d3aed
feat(trace-viewer): Move copy request buttons to toolbar (#35366) 2025-03-31 14:21:57 +01:00
Mark Skelton 3d603d1e5c
feat(html): add NOT filtering to HTML reporter (#35390) 2025-03-31 14:18:13 +01:00
Chris 62a8d4e01f
chore: Fix select warning when panes docked on right (#35404) 2025-03-31 14:16:41 +01:00
Max Schmitt fffd87af1d
test: add test for android cookies on webview (#35399) 2025-03-31 09:31:44 +02:00
Max Schmitt 63cf78471f
fix(trace-viewer): ConsoleTab: each child in a list should have a unique "key" prop (#35413) 2025-03-31 09:30:53 +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
microsoft-playwright-automation[bot] d0e0a60e0a
feat(chromium-tip-of-tree): roll to r1317 (#35395)
Co-authored-by: microsoft-playwright-automation[bot] <203992400+microsoft-playwright-automation[bot]@users.noreply.github.com>
2025-03-28 14:04:49 +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
Max Schmitt 2c0e1e5e3a
docs(debug): add instructions for debugging tests using Chrome DevTools (#35394) 2025-03-28 10:50:18 +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
Simon Knott f5a7465a41
fix(serializers): correct byte length calculation for typed arrays (#35386) 2025-03-27 13:50:06 +01:00
Chris e82239fcb1
docs: Make clear that PR diffs should stay small (#35368) 2025-03-27 12:48:13 +01:00
Dmitry Gozman 89386628db
test: check that browsers use proxy for websocket requests (#35348) 2025-03-26 21:33:53 +00:00
Max Schmitt 5af22ed72e
fix(registry): find channels without proper win32 env (#35376) 2025-03-26 18:56:27 +01:00
Simon Knott 3340855109
chore: support typed arrays in indexeddb (#34949) 2025-03-26 18:04:45 +01:00