Skip to content

Comparison images generated while running the task to record screenshots with the support of ComposePreviewScanner to scan the Composable Previews #563

Open
@cescko

Description

I have found that in some cases *_actual.png and *_compare.png comparison screenshots are generated while running the task to record the screenshots in the build/outputs/roborazzi folder.

I managed to replicate the case in a sample project and described the steps in the README file. It should be easily replicable.

It seems that the problem could be depend on to the test generated via the generateComposePreviewRobolectricTests configuration in build.gradle.kts file. I had no problems generating the screenshots of the previews with a written test without using the configuration task.

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