Closed polacekpavel closed 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>
<TabNavigator.Item ... testID="home-tab"> </TabNavigator.Item>
Swift let app = XCUIApplication() ... app.otherElements["home-tab"].tap();
let app = XCUIApplication()
...
app.otherElements["home-tab"].tap();
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();