Dmitry Gozman
8eda25c928
fix(test runner): do not install custom loader hook for '.cjs' ( #35962 )
2025-05-15 19:54:31 +01:00
Dmitry Gozman
7f9be44e3c
test: add a test for import regression ( #35952 )
2025-05-14 19:48:46 +01:00
Adam Gastineau
e4f0d9503b
fix(esm): prevent ESM loading deadlock in certain import chains ( #35933 )
2025-05-14 08:30:26 -07:00
Adam Gastineau
854534cdfe
fix(trace): avoid recording BindingCall actions ( #35851 )
2025-05-13 05:28:14 -07:00
Yury Semikhatsky
1d181ae608
devops: get rid of fd-slicer dependency and esbuild plugin hack ( #35895 )
2025-05-08 11:48:18 -07:00
Dmitry Gozman
2c2da8a0aa
chore: consolidate snapshot path logic into TestInfo ( #35752 )
2025-05-05 16:59:37 +01:00
Adam Gastineau
85a101b780
fix(runner): incorporate set project worker count into status messages ( #35717 )
2025-04-30 08:05:28 -07:00
Adam Gastineau
9b59a6aea6
feat(html): allow setting a title to display ( #35659 )
2025-04-28 10:30:25 -07:00
Dmitry Gozman
508b1ccdcb
feat: introduce kind
option in TestInfo.snapshotPath() ( #35734 )
2025-04-24 21:21:57 +01:00
Dmitry Gozman
79fd15b530
fix(test runner): TestInfo.snapshotPath() should sanitize ( #35709 )
2025-04-24 10:36:38 +01:00
Max Schmitt
400f466957
test: unflake 'Copy Prompt' tests ( #35714 )
2025-04-23 19:27:38 +02:00
Dmitry Gozman
69ffff95e0
test: unflake "should format JSON request body" ( #35708 )
2025-04-23 14:56:15 +01:00
Max Schmitt
c454681d05
fix(reporters): error context exception with page.evaluate ( #35670 )
2025-04-23 08:55:38 +02:00
Simon Knott
2e11d4c452
chore: remove fix-with-ai experiment ( #35690 )
2025-04-22 13:24:30 +02:00
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
Marcin Szafranek
b32a9a05e2
docs(test-assertions): optimize custom matcher to handle negative assertions efficiently ( #35599 )
2025-04-14 12:07:01 -07:00
Yury Semikhatsky
adfad84bb8
fix: do not pass unsafe matcherResult
over IPC ( #35565 )
2025-04-10 14:39:33 -07: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
Adam Gastineau
8beaf3c383
feat: display warnings only on test failure ( #35464 )
2025-04-08 07:34:12 -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
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
Chris
fbf519c5a5
feat(html-reporter): Add extra space after any special token ( #35365 )
2025-03-28 14:47:08 +01:00
Simon Knott
2f3fe8f113
feat(prompt): link to error prompt in terminal ( #35341 )
2025-03-28 13:42: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
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
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
Dmitry Gozman
7cada0322a
fix(test runner): disregard native typescript execution in Node.js ( #35300 )
2025-03-20 19:17:17 +00:00
Max Schmitt
834ccff25f
chore: roll stable-test-runner to 1.51.0-beta-1741803045000 ( #35192 )
2025-03-13 20:03:30 +01:00
Adam Gastineau
a98075085e
fix(expect): properly handle custom asymmetric matcher regression ( #35149 )
2025-03-12 09:05:53 -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
Pengoose
43ee924087
feat(webServer): support name option for custom web server log prefixes ( #35105 )
2025-03-10 19:12:59 -07:00
Dmitry Gozman
4767845f20
feat: support TestProject.workers limit ( #35094 )
2025-03-10 09:13:24 +00:00