playwright/packages
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
..
html-reporter fix(screenshot): show image diff inline in errors list (#32997) 2024-10-10 16:49:17 -07:00
playwright fix(screenshot): show image diff inline in errors list (#32997) 2024-10-10 16:49:17 -07:00
playwright-browser-chromium chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-browser-firefox chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-browser-webkit chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-chromium chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-core fix(screenshot): show image diff inline in errors list (#32997) 2024-10-10 16:49:17 -07:00
playwright-ct-core chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-ct-react fix(ct-react): support shorthand fragment notation (#32900) 2024-10-02 11:19:09 +02:00
playwright-ct-react17 chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-ct-solid chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-ct-svelte chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-ct-vue fix(ct-vue): update default slot should work (#32952) 2024-10-04 14:18:21 +02:00
playwright-ct-vue2 chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-firefox chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-test chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-webkit chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
protocol/src feat(routeWebSocket): address api review feedback (#32850) 2024-09-27 04:01:31 -07:00
recorder chore: update trace event on action merge (#32860) 2024-09-27 21:18:30 -07:00
trace/src fix(tracing): use page swap timestamp to find closest screenshot (#32512) 2024-09-10 14:32:33 +02:00
trace-viewer chore: allow minimal height for trace attachments (#32996) 2024-10-08 08:33:45 -07:00
web fix(screenshot): show image diff inline in errors list (#32997) 2024-10-10 16:49:17 -07:00
.eslintrc.js chore: replace process.exit with graceful closure (#24242) 2023-07-24 08:29:29 -07:00