Fixed
Status Update
Comments
di...@google.com <di...@google.com>
da...@raileasy.co.uk <da...@raileasy.co.uk> #2
Attaching a bug report for Pixel Tablet
di...@google.com <di...@google.com>
jg...@google.com <jg...@google.com>
an...@google.com <an...@google.com> #3
And for Pixel 9 Pro Fold
tn...@google.com <tn...@google.com> #4
Hi Marco, thank you for the report. We will take a look.
di...@google.com <di...@google.com> #5
that needs the tablet image, I believe
Description
I'm having difficulty getting screenshot testing to work.
When I run the
updateDebugScreenshotTest
target, the build fails with a message from Kotlin coroutines:I've tried various things to make this work. But ultimately, I don't think I should have to do anything special to make this work: the app runs fine on a device, and screenshot previews do work fine inside the IDE. So there must be something wrong with the way we're transferring the dependency graph used by the IDE to the screenshot task, or something like that.
I've made my sample project available here:https://drive.google.com/file/d/1YIDqlLa1R1HWzzZ43pPGyCLM1bXfliTK/view?usp=sharing . The project doesn't make a lot of sense -- I've stripped it down from a real project -- but it reproduces this exact problem; you can open it up in Studio and see the preview, and you can build the project, but the update screenshot task fails with the full exception: