Skip to content

Relax Playwright Image maxDiffPixelRatio, to ignore imperceptible differences #28

@TomStrepsil

Description

@TomStrepsil

In #21 it was noticed that a check run failure was a false negative; the image snapshots produced by Playwright were imperceptibly different, but showed a 0.04 ratio of pixel differences.

The use of ubuntu-latest unavoidably means that subtle updates to Linux and the Chromium version it comes with could produce binary differences in images created, and evidently Playwright is sensitive to this.

Playwrights settings for screenshots allow for a maxDiffPixelRatio to be set, to allow slight fuzziness; which should mitigate the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions