playwright/packages/web/src
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
..
assets feat(html-reporter): add Playwright logo as Favicon (#31908) 2024-07-30 12:02:06 +02:00
components chore: allow minimal height for trace attachments (#32996) 2024-10-08 08:33:45 -07:00
shared fix(screenshot): show image diff inline in errors list (#32997) 2024-10-10 16:49:17 -07:00
third_party/vscode chore: roll codicon (#32234) 2024-08-20 10:56:46 -07:00
ansi2html.ts chore: roll expect and move it to third party (#32458) 2024-09-09 13:12:20 -07:00
common.css chore: polish ui mode for better mac appearance (#27008) 2023-09-11 19:01:00 -07:00
DEPS.list chore: run check-deps for all packages (#21395) 2023-03-03 14:50:43 -08:00
renderUtils.tsx feat(ui mode): linkify attachment names and content (#31960) 2024-08-01 09:27:45 -07:00
theme.ts chore: simplify settings management in UI mode (#32440) 2024-09-04 01:05:07 -07:00
uiUtils.ts chore: move actions types to recorder (#32839) 2024-09-26 14:50:09 -07:00