I'm attempting to run Firebase's robo test
for a react-native
0.52.0
phone app (android apk / no test script)... unfortunately the robo test
doesn't get past the first page.
I've read that adding testID
fields was required by other automation frameworks to discover components/buttons, so I tried using react-native-testid), but this had no effect. I've also read that resource-id
should be used instead (but it's not currently supported by react-native?).
Does anyone know why Firebase can't "find" the navigation buttons?
Firebase - Known Issues
Robo test is only compatible with apps that use UI elements from the Android UI framework (including View and ViewGroup objects, but excluding WebView objects). If you use Robo test to exercise apps that use other UI frameworks, including apps that use the Unity game engine, the test may exit without exploring beyond the first screen.
(thanks @Phix)
... however I assume react-native would compile/package using "UI elements from the Android UI framework".
Other Notes
I'm hoping that a Firebase developer will see this and respond... ("Here at Firebase, we’re big React fans ... If you’re running into issues, open up a question on Stackoverflow, we monitor the Firebase tag closely")