Skip to content

[ios]Scenario Tests screenshots on CI and local machines are off by a few pixels #171806

@hellohuanlin

Description

@hellohuanlin

Steps to reproduce

When working on scenario tests, sometimes screenshots on CI and local machines are off by a few pixels, resulting in test failures, which is annoying to work with.

For example, I remember in this PR, I had to
(1) push the PR with my local screenshot to kick off CI run
(2) then download the screenshot from CI, and replace my local screenshot
(3) resubmit

Expected results

Local & CI screenshot should be the same

Actual results

They are different

Code sample

NA

Screenshots or Video

NA

Logs

NA

Flutter Doctor output

NA

Metadata

Metadata

Assignees

No one assigned

    Labels

    platform-iosiOS applications specificallyteam-iosOwned by iOS platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions