Closed JackEblan closed 2 weeks ago
Thanks. Do you have a code diff? You can use the dump option of RoborazziOptions to debug.
I've cloned your repository and debugging the tests 👀
@JackEblan I updated the Robolectric's version and it seems fixed 👀
Please wait we might have to add it.systemProperties["robolectric.pixelCopyRenderMode"] = "hardware"
as well
testOptions {
unitTests {
// For Robolectric
isIncludeAndroidResources = true
isReturnDefaultValues = true
all {
it.systemProperties["robolectric.pixelCopyRenderMode"] = "hardware"
}
}
I have submitted a pull request for this: https://github.com/JackEblan/Geto/pull/164
I believe the issue is fixed now. Could you please review it? For information on robolectric.pixelCopyRenderMode, you can refer to this link: https://github.com/takahirom/roborazzi/issues/296
Please wait for the screenshots to be updated. https://github.com/takahirom/Geto/pull/1
Hi @takahirom, My screenshot images became like these after migrating to Type-Safety Compose Navigation. My layouts are fine in my app.
e.g: BEFORE
AFTER