Skip to content

Issue with CompareImages in robotframework-doctestlibrary 0.22.0 Not Triggering Fail Despite Differences in PDF Comparison #103

@Hyneq00

Description

@Hyneq00

Hello,

I would like to ask you about an issue I encountered when using the DocTest.VisualTest.CompareImages (robotframework-doctestlibrary - 0.22.0) function.

When comparing two PDFs, the function correctly marked the area where the PDFs differ, but the fail keyword did not trigger. Upon closer examination, I found that the function evaluated the difference as within the allowed range of displacement, even though move_tolerance and threshold were both set to 0.

The differences are:

In the first PDF: Ste 300 88 Sixth St
In the second PDF: Ste 300 88 Sixth StSte 300 88 Sixth St
The PDFs and a picture of the result can be found in the attachment.

Thank you very much!

CompareImages not failed

Default PDF: default.pdf
Wrong PDF: wrong.pdf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions