Replies: 1 comment
-
Can you try this with the latest version 1.3.5. We added the ability to rerender the first frame if a pending recomposition is detected. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am not sure whether I use
Paparazzi
wrongly or if there is a way to achieve the desired behavior, but I think that the API should provide a way to take snapshots after all side effects are executed. For example, I have a composable that renders differently when it has focus. In order to set focus programmatically in our screenshot test, we need to useSideEffect
like that:If I try to take a screenshot while the composable has focus:
then it seems that the screenshot was taken before the focus was gained (which I think is expected).
Maybe we need something like
IdlingResource
, or something to force all recompositions to happen.Beta Was this translation helpful? Give feedback.
All reactions