playwright/packages/web
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
..
playwright chore: fix html-reporter/trace-viewer TSC errors (#26813) 2023-08-31 18:08:38 +02:00
src fix(screenshot): show image diff inline in errors list (#32997) 2024-10-10 16:49:17 -07:00
.gitignore fix(debug): do not pause on internal calls, update ct docs (#14018) 2022-05-07 19:56:25 -07:00
index.html chore: use vite plugin for registry (#13658) 2022-04-21 17:30:17 -07:00
package.json chore: use codemirror in the on-hover locator editor (#28090) 2023-11-10 22:00:28 -08:00
playwright.config.ts devops: create blob reports for all "tests 1" (#26694) 2023-08-24 16:06:41 -07:00