playwright/packages/playwright
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
..
bundles chore: enable @babel/plugin-syntax-import-attributes all the time (#32713) 2024-09-19 16:51:35 +02:00
src fix(screenshot): show image diff inline in errors list (#32997) 2024-10-10 16:49:17 -07:00
types feat: config.build.tsconfig (#33026) 2024-10-10 01:37:46 -07:00
.eslintrc.js chore: strengthen linting (#29669) 2024-02-26 16:52:28 -08:00
.npmignore chore: make @playwright/test depend on playwright (#26946) 2023-09-08 14:23:35 -07:00
cli.js chore: split cli processing into cli endpoint and program (#29131) 2024-01-23 15:22:09 -08:00
index.d.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
index.js chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
index.mjs chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
jsx-runtime.js fix(ct-react): support shorthand fragment notation (#32900) 2024-10-02 11:19:09 +02:00
jsx-runtime.mjs chore: make @playwright/test depend on playwright (#26946) 2023-09-08 14:23:35 -07:00
package.json chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
test.d.ts chore: make @playwright/test depend on playwright (#26946) 2023-09-08 14:23:35 -07:00
test.js chore: remove manual __esModule override (#28935) 2024-01-10 16:28:08 -08:00
test.mjs fix: merge{Tests,Expects} via ESM imports (#27630) 2023-10-17 00:09:44 +02:00
ThirdPartyNotices.txt chore: roll expect and move it to third party (#32458) 2024-09-09 13:12:20 -07:00