Open robrechtme opened 3 years ago
Issue with accessibilityLabel
fixed on Android and
Issue with testID
on Android fixed in https://github.com/wix/react-native-navigation/pull/7298 (PR in review)
Nice! This is fixed on Android now. On iOS we still cannot configure the a11yLabel or testID. They will always be set to the title of the previous screen (unless there is no title, then it is 'Back').
On iOS we still cannot configure the a11yLabel or testID. They will always be set to the title of the previous screen (unless there is no title, then it is 'Back').
Is there any update on this issue? We are still experiencing this on iOS.
🐛 Bug Report
Passing a
testID
oraccessibilityLabel
throughdefaultOptions
does not work as expected. This duplicates https://github.com/wix/react-native-navigation/issues/6669, but hopefully provides more info. If you want, I can look into submitting a PR.To Reproduce
Expected behavior
The custom testID and/or accessibilityLabel show up in Appium. According to the docs,
accessibilityLabel
is only supported on Android, buttestID
should work on both platforms.Actual Behavior
'Back'
).'Navigate Up'
. This makes it very difficult to use it in e2e tests.A custom testID on a button in
topBar.leftButtons
ortopBar.rightButtons
however does show up in Appium.Your Environment