-
Notifications
You must be signed in to change notification settings - Fork 38
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
Render compose component with clock based logic #605
Comments
We can add |
I went to an Android meet-up about testing in Japan, and I received the same feedback there 😅 |
Sure! Let me handle this. I‘m busy this week but I think I can get something working before new year 😊 |
Thanks a lot for the quick reply, i am looking forward to the new version supporting this 🎉 |
This will take a bit longer. I’m planning to finalise next ComposablePreviewScanner release next week and then I’ll handle this right afterwards. Thanks for your patience 🙏 |
FYI: I'll start working on this next week 🚀 |
@sergio-sastre Thank you for the update! I appreciate you taking on this task. We're looking forward to it! 🎉 |
Hi @takahirom When I execute it fails with an error I am unable to decipher... Moreover, I've also observed that to achieve that we need a ComposeTestRule and we use an ActivityScenario, which is necessary for setting size and background preview parameters... Without making big changes, the fastest way to achieve it is by adding the ComposeTestRule in the PreviewTester... I do not like the solution too much to be honest... maybe you have an idea on what it would be the best way to solve that? |
First of all , i like the feature "Experimental Compose Preview Support" 😄 , which provides us confidence on all our 8xx preview components, which is good. However, some of preview we have to igore them in roborazzi test because there is clock-based logic inside the component.
We have a stateful compose component which included count down logic like below
When we run roborazzi, the recorded screenshot generate different result everytime.
I would like to seek any advice for it 🙏
The text was updated successfully, but these errors were encountered: