Andrey Lushnikov
|
0093e8a753
|
cherry-pick(#12934): allow toMatchSnapshot to use text comparator for text data (#12938)
This was regressed awhile ago.
In v1.17 we shipped the following code: 30e15ad36f/packages/playwright-test/src/matchers/golden.ts (L122-L131)
`toMatchSnapshot` should fallback to text comparator in case of
unknown extension and string data.
Fixes #12862
|
2022-03-21 17:54:40 -07:00 |
|
Andrey Lushnikov
|
d7648d390c
|
fix(toHaveScreenshot): round ratio up (#12540)
This way the ratio value could be used right away in configuation.
|
2022-03-04 18:55:48 -08:00 |
|
Andrey Lushnikov
|
1f5cfcaeec
|
fix(to-have-screenshot): show number of bad pixels in mismatched error (#12502)
Drive-by: do not show empty call log.
References #12441
|
2022-03-04 11:01:05 -08:00 |
|
Andrey Lushnikov
|
279e579097
|
chore: address pixelCount and pixelRatio review comments (#12501)
- documentation fixes
- rename pixelCount to maxDiffPixels
- rename pixelRatio to maxDiffPixelRatio
|
2022-03-03 23:17:31 -08:00 |
|
Andrey Lushnikov
|
396d920145
|
feat(test-runner): implement expect(pageOrLocator).toHaveScreenshot (#12242)
Fixes #9938
|
2022-02-28 12:25:59 -08:00 |
|
Andrey Lushnikov
|
0682672242
|
chore: move comparator logic to playwright-core (#12232)
This will enable implementation of `toHaveScreenshot` on the
server-side.
Drive-by: drop blink-diff
References #9938
|
2022-02-18 14:39:17 -08:00 |
|