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
{{ message }}
Repository navigation
Flaky Android Expo Detox E2E: native greeting never shows up / app drops Detox connection #499
The Detox E2E (AndroidApp - Expo XX) jobs keep failing on both Expo 57 and 58, on main and on PRs. Both tests in the suite fail together, so the job goes red each time it happens.
There are two ways it fails:
The native greeting never shows up. In beforeAll, the app process starts (Android app process is up), but Hello native Android (Expo XX) never appears in UIAutomator. After ~90s it fails with Timed out waiting for UIAutomator to contain any of: Hello native Android (Expo 58), ....
The app drops the Detox connection after opening the Expo RN screen. The greeting is fine, then Opening the Expo RN screen... → Detox can't seem to connect to the test app(s)!, which looks like the app crashed.
So my guess is the app is crashing in all of them, just at different moments. The failed jobs already upload the full host-side logcat (logcat-full.txt, added in #473) together with the other Detox artifacts (#466), in the detox-androidapp-<flavor>-<flavor>-android artifact. I haven't gone through those logs yet to confirm a crash.
Activity