Orientation for Compose screenshots is broken by incorrect lifecycle callback to beforeScreenshot() #178
Labels
Bug
Any behaviour the deviates from the documentation, expected outcome or API contract.
Is your feature request related to a problem? Please describe.
I’d like to take screenshots of composables in portrait as well as in landscape orientation
This feedback relates to:
Describe the solution you'd like
That ComposableScreenshotTestRule supports orientation, dame as ScreenshotTestRule
Describe alternatives you've considered
I’ve considered using ScreenshotTestRule and inflating the Composable inside the activity, what actually might work but looks like sth that I should not do as user of the library.
Test
Error
The text was updated successfully, but these errors were encountered: