-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: JetNews app_opensInterests fails on CI but not locally #1442
Comments
Failed run https://github.com/android/compose-samples/actions/runs/10284148830/job/28459562695?pr=1314
|
It's failing on robolectric, not instrumented. Probably because the screen is too small in the default robolectric device. |
There must be a race condition somewhere because I was trying something else and I saw that adding
|
Logging off, for now I have no idea why it's failing on Robolectric, I don't think it has to do with the screen size. It looks like the app is not navigating to Interests at all. |
This issue has been automatically marked as stale because it has not had any recent activity. Please comment here if it is still valid so that we can reprioritize it. Thank you for your contributions. |
Fixed with #1468 |
Is there an existing issue for this?
Is there a StackOverflow question about this issue?
Is this an issue related to one of the samples?
Sample app
JetNews
What happened?
When running
app_opensInterests()
on CI, the test fails that it can't find the "Topics" text in the UI, however, running locally the test passes.I've tried upgrading the emulators on Github to have hardware acceleration as I assume this is an issue with linking Github Actions + Emulators + Linux, but this didn't help.
I also tried setting a timeout to longer (5000ms), but this didn't help.
Relevant logcat output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: