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
When running ScreenshotTests for a Composable function within Compose Preview,
which checks if rendering is happening inside the Preview function, rendering occasionally fails.
I think the issue in the Preview Scanner Screenshot test is due to the LocalInspectionMode value being set to false. I have proposed a fix in the following PR. Please review it. #588
I encountered a failed case where, because LocalInspectionMode was set to false, the preview image was not used and an attempt was made to fetch the actual network image, resulting in a failure to render.
The text was updated successfully, but these errors were encountered:
When running ScreenshotTests for a Composable function within Compose Preview,
which checks if rendering is happening inside the Preview function, rendering occasionally fails.
I think the issue in the Preview Scanner Screenshot test is due to the LocalInspectionMode value being set to false. I have proposed a fix in the following PR. Please review it.
#588
For example, in Landscapist, the Boolean value of LocalInspectionMode is used to set a placeholder for Preview.
https://github.com/skydoves/landscapist/blob/2.4.4/glide/src/main/kotlin/com/skydoves/landscapist/glide/GlideImage.kt#L124
I encountered a failed case where, because LocalInspectionMode was set to false, the preview image was not used and an attempt was made to fetch the actual network image, resulting in a failure to render.
The text was updated successfully, but these errors were encountered: