Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply ComposeScreenshot plugin #1787

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

yuuki3655
Copy link

What I have done and why

Apply ComposeScreenshotTest plugin and move all compose preview functions to screenshotTest directory.

@Jaehwa-Noh
Copy link
Contributor

Jaehwa-Noh commented Dec 27, 2024

We had had roborazzi to take screenshots. If we would use compose screenshot plugin, should be removed roborazzi what does duplicated work.

@JoseAlcerreca
Copy link
Contributor

Thanks Yuki!

@Jaehwa-Noh I asked Yuki to create the PR.

I was thinking about using previews for testing static layouts and Roborazzi for cases where we need Robolectric features or to support user actions.

Thoughts?

@dturner dturner marked this pull request as draft January 7, 2025 17:52
@Jaehwa-Noh
Copy link
Contributor

@JoseAlcerreca
I hardly see what cases need an user action and Robolectric feature on Screenshot test, so that would you give me an example of it? That would be really me helpful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants