Skip to content

Screenshot tests are not stable #193

Closed
@lihenggui

Description

** Roborazzi version:
1.6.0

** Background:
I updated the screenshot tests in this PR, GitHub actions link.
The tests ran successfully and updated the existing screenshot in the commit (lihenggui/blocker@f4d7804).

After merging the PR into the main branch, the tests will run again. However, this time they failed due to verification issues. It is worth noting that I did not modify the screenshot; it worked fine in the PR but failed on the main branch, indicating instability or inconsistency.

com.merxury.blocker.core.designsystem.SegmentedButtonsScreenshotTests > blockerSegmentedButtons_multipleThemes FAILED
    java.lang.AssertionError at SegmentedButtonsScreenshotTests.kt:43

com.merxury.blocker.core.designsystem.SegmentedButtonsScreenshotTests > blockerOutlineButton_multipleThemes FAILED
    java.lang.AssertionError at SegmentedButtonsScreenshotTests.kt:60

GitHub Action link: https://github.com/lihenggui/blocker/actions/runs/6655600282/job/18088005415.

** Expected:
Since no files changed, tests should run normally regardless of whether it is on the main branch or a PR.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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