When testing an iOS app using Maestro, sometimes nested elements are not visible to the selectors. This may happen, when you use TouchableOpacity
, Pressable
, TouchableWithoutFeedback
etc. To fix it, pass accessible={false}
to those components.
You can inspect view hierarchy using Xcode or
maestro hierarchy