Nick Grealy
Nick Grealy

Reputation: 25864

Firebase > Running robo test doesn't get past initial screen

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")

Links

Upvotes: 2

Views: 1900

Answers (1)

Doug Stevenson
Doug Stevenson

Reputation: 317467

Firebase Test Lab currently doesn't support anything but native apps that use native Android views and widgets (as you have seen in the documentation).

If you have a feature request, please file one.

Upvotes: 1

Related Questions