Simon Knott
cb2d94e467
chore: refactor error context ( #35613 )
2025-04-15 17:29:07 +02:00
Simon Knott
2f3fe8f113
feat(prompt): link to error prompt in terminal ( #35341 )
2025-03-28 13:42:18 +01:00
Simon Knott
6f1ec11072
fix: prompt button should not be hidden by error ( #35268 )
2025-03-25 18:26:04 +01:00
Pavel Feldman
1423d0f8a7
chore: rename to copy prompt ( #35057 )
2025-03-05 13:07:52 -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
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
Pavel Feldman
325fe71bb9
chore: minor html report polish ( #34864 )
2025-02-21 13:49:23 -08:00
Simon Knott
1f1e2acf9b
chore: rename prompt button ( #34851 )
2025-02-19 14:32:58 -08:00
Simon Knott
2f8d448dbb
feat(html): "copy prompt" button ( #34670 )
2025-02-10 15:02:19 +01:00
Max Schmitt
b91f609b14
chore: fix react attribute casing in TestErrorView ( #33633 )
2024-11-15 22:25:26 +01:00
Yury Semikhatsky
c95feccce4
chore: support reverse in ansi2html, drop ansi-to-html ( #33389 )
2024-10-31 21:42:06 -07:00
Dmitry Gozman
aa952c1b03
fix(html report): generate test snippets when test dir is non-root ( #33162 )
2024-10-17 08:33:15 -07:00
Yury Semikhatsky
b9cce598dd
fix(screenshot): show image diff inline in errors list ( #32997 )
...
The diff is now shown inline in the errors list.
There are 2 possible failures of toHaveScreenshot
* Previous and actual snapshot mismatch. In this case html report will
show diff between Actual/Previous and have Expected as a separate
screenshot.
* Actual/Previous are equal but they differ from the expected. In this
case html report only contains Actual/Expected images and the diff.
Reference: https://github.com/microsoft/playwright/issues/32341
<img width="1039" alt="image"
src="https://github.com/user-attachments/assets/b458f986-cc25-4721-862c-0cc2c1b01a42 ">
2024-10-10 16:49:17 -07:00
Dmitry Gozman
c8134bca5d
feat(html): show top-level errors ( #27763 )
...
Drive-by:
- extract `TestErrorView`;
- replace `data-test-id` with `data-testid` and `getByTestId()`.
---
<img width="1001" alt="top-level errors in html report"
src="https://github.com/microsoft/playwright/assets/9881434/2d6c0c52-8df1-46a9-b3fd-06ddc6f16796 ">
2023-10-24 09:35:07 -07:00