You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using generateComposePreviewRobolectricTests to automatically generate tests from Compose Previews, but there are cases where LocalInspectionMode is needed.
This is particularly relevant for components that load images from the internet using Coil.
I noticed that support for LocalInspectionMode was added in v1.37.0, but my understanding is that it can only be enabled manually when writing tests using RoborazziComposeOptions.
Would it be possible to provide a way to enable this via the generateComposePreviewRobolectricTests block or gradle.properties? I would appreciate your consideration.
The text was updated successfully, but these errors were encountered:
Thanks. We are developing @RoboComposePreviewOptions, which will enable the customization of features like this. However, this process requires significant architectural planning time. Thank you for your patience. #633
I would check if the test is running on Robolectric, and you could add inspection mode to your codebase. I think you have your own AsyncImage()-like function in your code. https://stackoverflow.com/a/30713876/4339442
I'm using generateComposePreviewRobolectricTests to automatically generate tests from Compose Previews, but there are cases where LocalInspectionMode is needed.
This is particularly relevant for components that load images from the internet using Coil.
I noticed that support for LocalInspectionMode was added in v1.37.0, but my understanding is that it can only be enabled manually when writing tests using RoborazziComposeOptions.
Would it be possible to provide a way to enable this via the generateComposePreviewRobolectricTests block or gradle.properties? I would appreciate your consideration.
The text was updated successfully, but these errors were encountered: