4113 Commits

Author SHA1 Message Date
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
Yury Semikhatsky
ba0bb01114
fix: do not hang in route.continue with unsafe header (#35201) 2025-03-14 14:02:45 -07:00
Yury Semikhatsky
90f6a657a1
test(route): set-cookie in redirect response (#35199) 2025-03-14 14:02:20 -07:00
Max Schmitt
0b6b5ea7ab
fix(routeWebSocket): relative WebSocket URL (#35193) 2025-03-14 16:31:37 +01:00
Max Schmitt
834ccff25f
chore: roll stable-test-runner to 1.51.0-beta-1741803045000 (#35192) 2025-03-13 20:03:30 +01:00
Playwright Service
cc4045e850
feat(webkit): roll to r2147 (#35164)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2025-03-13 00:38:11 +01:00
Adam Gastineau
a98075085e
fix(expect): properly handle custom asymmetric matcher regression (#35149) 2025-03-12 09:05:53 -07:00
Yury Semikhatsky
74acbcea56
chore: resolve glob to regex in local utils for language ports (#35136) 2025-03-11 15:54:58 -07:00
Jean-François Greffier
85a66912c6
feat(config): failOnFlakyTests option (#35109) 2025-03-11 10:06:20 -07:00
Pavel Feldman
63e5257a4c
chrome: expose link/url in aria (#35134) 2025-03-11 10:04:52 -07:00
Playwright Service
d67357396a
feat(chromium): roll to r1162 (#35076)
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2025-03-11 16:59:46 +01:00
Pengoose
43ee924087
feat(webServer): support name option for custom web server log prefixes (#35105) 2025-03-10 19:12:59 -07:00
Pavel Feldman
807d9066d6
chore: allow generating aria references (#35132) 2025-03-10 14:39:37 -07:00
Dmitry Gozman
49f03c87fc
chore: housekeeping after the last firefox roll (#35116) 2025-03-10 11:26:24 +00:00
Dmitry Gozman
4767845f20
feat: support TestProject.workers limit (#35094) 2025-03-10 09:13:24 +00:00
Dmitry Gozman
e01c901e87
fix: do not screenshot the same page again in afterAll (#35079) 2025-03-06 21:06:19 +00:00
Pavel Feldman
a52ad0743e
chore: do not disable fieldset legend (#35063) 2025-03-06 11:46:53 -08:00
Max Schmitt
bb0bdff815
chore: hide indexedDB in BrowserContext.storageState() by default (#35045) 2025-03-06 12:42:40 +01:00
Max Schmitt
6f99ad63dd
chore: hide indexedDB from storageState() and BrowserContext option (#35058) 2025-03-06 09:59:20 +01:00
Pavel Feldman
319f4630de
chore: do not compute git diff on PRs (#35062) 2025-03-05 20:43:27 -08:00
Pavel Feldman
1423d0f8a7
chore: rename to copy prompt (#35057) 2025-03-05 13:07:52 -08:00
Simon Knott
f44cd3050b
chore(ui): hide top-level attach actions (#35040) 2025-03-05 15:37:25 +01:00
Dmitry Gozman
3773a73855
chore: roll stable test runner to 1.51.0-beta-1741166263000 (#35042) 2025-03-05 13:18:58 +00:00
Pavel Feldman
78fa911756
chore: improve prompt to use code frame and inline error (#35032) 2025-03-04 19:28:03 -08:00
Adam Gastineau
d6a4c1cda4
chore: restore to.have.url matching via injected script (#35027) 2025-03-04 11:52:59 -08:00
epszaw
02a63fe9e8
feat: add ability to render base64-encoded trace recieved from window messages (#34976) 2025-03-04 10:56:01 -08:00
Simon Knott
88623ae3c2
refactor: store copy prompt contents in attachment (#34995) 2025-03-04 17:20:36 +01:00
Pavel Feldman
ee2a5264ad
chore: do not show other metadata in html report (#35001) 2025-03-03 15:28:18 -08:00
Pavel Feldman
85c6405093
chore: differentiate test.skip and step.skip (#35002) 2025-03-03 15:27:56 -08:00
Yury Semikhatsky
cd437c972d
fix: do not change glob pattern when converting to url (#34923) 2025-02-28 13:44:25 -08:00
Christopher Tangonan
c22c10f7d8
feat(json-reporter): added parallelIndex to TestResult (#34740) 2025-02-28 10:00:51 -08:00
Pavel Feldman
e033e5aa11
chore: move captureGitInfo back into config (#34961) 2025-02-28 07:33:03 -08:00
Simon Knott
6dcb7d2bf5
chore: remove pageSnapshot option (#34962)
Signed-off-by: Simon Knott <info@simonknott.de>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2025-02-28 13:16:58 +01:00