ptomasroos / react-native-tab-navigator

A tab bar that switches between scenes, written in JS for cross-platform support
MIT License
2.4k stars 415 forks source link

Add testID to TabNavigator.Item props #53

Closed polacekpavel closed 8 years ago

polacekpavel commented 8 years ago

Add testID to TabNavigator.Item props to enable automatic UI testing and automatic screenshot creating with FastLane (snapshot).

RN <TabNavigator.Item ... testID="home-tab"> </TabNavigator.Item>

Swift let app = XCUIApplication() ... app.otherElements["home-tab"].tap();