Simon Knott
02862442cf
chore: write own codeframe ( #36156 )
2025-06-02 15:09:05 +02:00
Simon Knott
43a086a8de
chore: render error context to copy prompt ( #36123 )
2025-05-30 15:43:55 +02:00
Simon Knott
4cb2431c33
chore: trim error context and make it singular ( #36117 )
2025-05-28 15:10:24 +02:00
Pavel Feldman
9a53dc2d07
chore: two-line trace view (4) ( #36070 )
2025-05-23 16:03:50 -07:00
Pavel Feldman
a15e94aa3f
chore: two-line trace view (3) ( #36058 )
2025-05-22 19:00:33 -07:00
Pavel Feldman
e0365747ce
chore: two-line trace view (2) ( #36055 )
2025-05-22 14:50:54 -07:00
Pavel Feldman
6a2a70619a
chore: two-line trace view (1) ( #36025 )
2025-05-22 09:49:37 -07:00
Pavel Feldman
cee8fb28a6
chore: match actions using explicit step ids ( #36005 )
2025-05-19 17:22:15 -07:00
Pavel Feldman
27ce0eb867
chore: move from apiName to title in tracing ( #36003 )
2025-05-19 16:01:45 -07:00
Pavel Feldman
3c888d59dd
fix(trace): fix the v6-v7 trace modernizer ( #35998 )
2025-05-19 14:02:57 -07:00
Pavel Feldman
6e8c67a3ce
chore: do not hide error context ( #36000 )
2025-05-19 13:35:22 -07:00
Pavel Feldman
313de29fab
feat(locator): introduce locator.describe() ( #35969 )
2025-05-16 13:40:47 -07:00
Pavel Feldman
0535a2ee11
chore: allow showing live trace ( #35957 )
2025-05-14 17:41:12 -07:00
Dmitry Gozman
9c4ea21529
chore(trace viewer): create injected/recorder in snapshots lazily ( #35835 )
2025-05-02 21:46:58 +01:00
Dmitry Gozman
3b0135411e
chore: inject builtins through esbuild ( #35800 )
2025-04-29 20:07:06 +01:00
Dmitry Gozman
edd25e3b83
fix(trace viewer): encode some urls inside style tags ( #35705 )
2025-04-24 10:53:48 +01:00
Pavel Feldman
3371fb9bea
chore: do not leak pw internals ( #35721 )
2025-04-23 21:53:17 -07:00
Adam Gastineau
a98ad6f071
chore: restore useful annotation types removed by #35620 ( #35623 )
2025-04-23 05:16:58 -07:00
Pavel Feldman
e6426a934d
chore: bake consoleApi into injected script ( #35672 )
2025-04-22 14:23:40 -07:00
Simon Knott
2e11d4c452
chore: remove fix-with-ai experiment ( #35690 )
2025-04-22 13:24:30 +02: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
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
Dmitry Gozman
4c85672f02
fix(role): <input type=file>
should be a button ( #35514 )
2025-04-08 09:02:19 +01: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
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
Adam Gastineau
92c5d656ab
chore: add location named property to annotations ( #35373 )
2025-04-02 06:29:22 -07:00
Chris
aa278d3aed
feat(trace-viewer): Move copy request buttons to toolbar ( #35366 )
2025-03-31 14:21:57 +01: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
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
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
195fe11e1b
fix(trace viewer): preserve dialog.showModal() elements ( #35231 )
2025-03-17 14:57:43 +00:00
Simon Knott
7fe17776e8
chore: simplify useSources ( #35077 )
2025-03-07 08:54:31 +01:00
Simon Knott
0d00783c0c
chore: merge ESLint configs ( #35038 )
2025-03-06 09:15:37 +01:00
Pavel Feldman
1423d0f8a7
chore: rename to copy prompt ( #35057 )
2025-03-05 13:07:52 -08:00
Simon Knott
1d9647b864
chore(ui/html): hide _ attachments ( #35044 )
...
Signed-off-by: Simon Knott <info@simonknott.de>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2025-03-05 16:35:18 +01:00
Simon Knott
f44cd3050b
chore(ui): hide top-level attach actions ( #35040 )
2025-03-05 15:37:25 +01: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
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
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
Pavel Feldman
cd23a224f6
chore: another iteration on gitCommit/gitDiff props ( #34926 )
2025-02-26 08:40:30 -08:00
Pavel Feldman
411f938296
chore: clean up git commit metadata props and UI ( #34867 )
2025-02-25 09:21:17 -08:00
Simon Knott
1a8f00c45f
fix: don't wrap button contents in two lines ( #34887 )
2025-02-24 12:15:21 -08:00
Adam Gastineau
c64f0ffa1d
chore: manually add exception for esbuild vulnerability ( #34875 )
2025-02-20 14:47:44 -08:00
Simon Knott
bb8e914294
feat(ui): collapse repeating console lines ( #34857 )
2025-02-20 14:48:20 +01:00
Simon Knott
1f1e2acf9b
chore: rename prompt button ( #34851 )
2025-02-19 14:32:58 -08:00
Max Schmitt
7f7ab96893
chore: fix tsc linting error ( #34853 )
2025-02-19 12:18:42 +01:00
Simon Knott
fe0b327770
feat(ui): llm conversation about error ( #34750 )
2025-02-14 16:59:26 +01:00
Simon Knott
0672f1ce67
feat(ui): "fix with ai" button ( #34708 )
2025-02-10 17:47:27 +01:00