Commit Graph

4123 Commits

Author SHA1 Message Date
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
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
Simon Knott 2573a80893
chore: change recommended snapshot extension to .aria.yml (#34963) 2025-02-28 10:03:39 +01:00
Simon Knott 44712fb8eb
test: windows clipboard contains \r\n (#34966) 2025-02-28 09:37:48 +01:00
Yury Semikhatsky fe9b4a841e
test: revert stray change in page-check (#34959) 2025-02-27 17:45:01 -08:00
Adam Gastineau 67d6f7f603
chore: temporarily disable floating promise warning messages (#34957) 2025-02-27 12:45:30 -08:00
Simon Knott a1146fd4a3
chore: copy as prompt in ui should have codeframe (#34943)
Signed-off-by: Simon Knott <info@simonknott.de>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-02-27 15:50:46 +01:00
Dmitry Gozman 3ce9ae6a7d
chore: replace locator.visible with filter({ visible }) (#34947) 2025-02-27 13:44:53 +00:00
Simon Knott 10fc0ef221
chore: make indexeddb opt-in (#34942) 2025-02-27 14:27:54 +01:00
Pavel Feldman 58db3f7e3f
chore: restore pr title in html report (#34937) 2025-02-26 19:22:31 -08:00
Yury Semikhatsky b5fe029c1b
chore: remove failOnStatusCode from Browser.newContext, rename (#34936) 2025-02-26 15:03:21 -08:00
Pavel Feldman cd23a224f6
chore: another iteration on gitCommit/gitDiff props (#34926) 2025-02-26 08:40:30 -08:00
Simon Knott 17c4d8e5ec
chore: change generated filename for `toMatchAriaSnapshot` from `.yml` to `.snapshot.yml` (#34931)
Signed-off-by: Simon Knott <info@simonknott.de>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2025-02-26 16:29:56 +01:00
Simon Knott a04a93c1fd
chore: change pageSnapshot extension to `.snapshot.yml` (#34930) 2025-02-26 14:27:17 +01:00
Yury Semikhatsky aaac9923fd
fix: disable global timeout when debugging (#34922) 2025-02-25 11:33:15 -08:00
Pavel Feldman 411f938296
chore: clean up git commit metadata props and UI (#34867) 2025-02-25 09:21:17 -08:00
Dmitry Gozman b148cbad76
fix: remove unicode soft hyphen in normalizeWhitespace (#34920) 2025-02-25 16:54:02 +00:00
Simon Knott 9e38473309
fix(runner): hide `APIResponse.*` calls from results (#34909) 2025-02-25 14:26:54 +01:00
Dmitry Gozman ed0bf35435
feat: locator.visible (#34905) 2025-02-25 11:48:15 +00:00
Vitaliy Potapov c4be54b45c
Docs: improve docs and tests for URL glob pattern (#34899) 2025-02-24 12:22:24 -08:00
Pavel Feldman 325fe71bb9
chore: minor html report polish (#34864) 2025-02-21 13:49:23 -08:00
Yury Semikhatsky 65910c4ac5
test: unskip "should preserve cookie order from Set-Cookie header" (#34888) 2025-02-21 10:04:01 -08:00
Max Schmitt 132d93151c
test: replace setTimeout with builtinSetTimeout in UI mode test (#34885) 2025-02-21 07:38:24 -08:00
Max Schmitt 428f196036
test: have typed RunResult.results (#34883) 2025-02-21 14:22:59 +01:00
Adam Gastineau 33c0a1b0ca
chore: add floating promise warning to hooks (#34861) 2025-02-20 10:46:49 -08:00
Simon Knott bb8e914294
feat(ui): collapse repeating console lines (#34857) 2025-02-20 14:48:20 +01:00
Simon Knott aca3fb275b
fix(runner): validate `config.tsconfig` (#34849) 2025-02-20 09:11:50 +01:00
Simon Knott 1f1e2acf9b
chore: rename prompt button (#34851) 2025-02-19 14:32:58 -08:00
Adam Gastineau f5b8cca1eb
feat: Warn on floating promises (#34845) 2025-02-19 10:11:04 -08:00
Simon Knott a3e8788b9c
chore: hide llm chat (#34852) 2025-02-19 14:14:18 +01:00
Max Schmitt 081031f50e
chore: bump vite to v6 (#34663) 2025-02-18 13:29:16 +01:00
Max Schmitt 1af4e367f4
fix(testServer): pass use options to listFiles command (#34832) 2025-02-18 00:33:45 +01:00
Pavel Feldman 024a52821a
chore: init eventEmitter w/ platform (#34809) 2025-02-14 17:06:11 -08:00
Pavel Feldman 8b28e637c8
chrome: remove state from isomorphic utils (#34795) 2025-02-14 15:10:50 -08:00
Yury Semikhatsky be95a08c4d
feat(webkit): roll to r2137, update tests (#34806) 2025-02-14 11:25:35 -08:00
Simon Knott fe0b327770
feat(ui): llm conversation about error (#34750) 2025-02-14 16:59:26 +01:00
Dmitry Gozman e6b405c012
chore: show gha pull request title instead of a merge commit (#34781) 2025-02-14 09:32:06 +00:00
Yury Semikhatsky 6833b664e3
test: update modernizr expectations with actual mobile Safari 18.3 values (#34789) 2025-02-13 16:37:15 -08:00
Pavel Feldman 163aacf4b6
chore: allow client operation w/o local utils (#34790) 2025-02-13 16:15:11 -08:00
Pavel Feldman 3d760b657b
chore: move debug, env and user agent from utils/ (#34766) 2025-02-12 19:27:24 -08:00
Yury Semikhatsky bab197b493
test: adjust bidi browser name in browsertype-connect.spec (#34758) 2025-02-12 18:04:42 -08:00
Pavel Feldman 0eeba380f2
chore: move crypto to server/util/ (#34759) 2025-02-12 14:43:52 -08:00