Skip to content
This repository has been archived by the owner on Feb 15, 2019. It is now read-only.

Test Ids are added. #509

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/ExNavigationBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ class ExNavigationBarBackButton extends PureComponent {

return (
<TouchableOpacity
accessibilityLabel={"backButton"} testID={"backButton"}
onPress={this._onPress}
hitSlop={BACK_BUTTON_HIT_SLOP}
style={buttonStyles.buttonContainer}>
Expand Down
2 changes: 2 additions & 0 deletions src/tab/ExNavigationTabBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ export default class ExNavigationTabBar extends React.Component {
if (item.showsTouches) {
return (
<TouchableNativeFeedback
accessibilityLabel={"tab"+index} testID={"tab"+index}
key={index}
onPress={item.onPress}
onLongPress={item.onLongPress}
Expand All @@ -112,6 +113,7 @@ export default class ExNavigationTabBar extends React.Component {
} else {
return (
<TouchableWithoutFeedback
accessibilityLabel={"tab"+index} testID={"tab"+index}
key={index}
onPress={item.onPress}
delayPressIn={0}
Expand Down