You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar thing (but not the same) reported in #99 (comment)
acecilia
changed the title
On failure the reference image uses the wrong DPI, resulting in bizarre diff image
On failure, the reference image uses the wrong DPI, resulting in bizarre diff image
Oct 3, 2023
Yeah, same for me.
Looks like library ignore reference image resolution and use suffix to decide if it 72 or 144
No issue if fileNameOptions has .screenScale
👋
I am using latest version 8.0. I have configured the following:
When recording, the framework generates the image correctly. The generated image is:
test_iconWithLabel.png
, 600 × 200 pixels, 144 pixels/inchWhen having a test failure in the same image, these are the generated failure diff images:
diff_test_iconWithLabel.png
, 1200 × 400 pixels, 144 pixels/inchfailed_test_iconWithLabel.png
, 600 × 200 pixels, 144 pixels/inchreference_test_iconWithLabel.png
, 600 × 200 pixels, 72 pixels/inchAs you can see:
reference_test_iconWithLabel.png
image does not match the DPI of thetest_iconWithLabel.png
recorded imagediff_test_iconWithLabel.png
contains the following very unexpected content:Find all images attached here: Images.zip
The text was updated successfully, but these errors were encountered: