We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yarn
cd ios && pod install
npx react-native@latest run-ios
maestro test __e2e__/test.yaml
- tapOn: 'Enter text'
For some reason the test fails to pick up tapOn commands in certain conditions.
tapOn
For example it works if you remove the top level Pressable and replace it with a View like so:
View
<View style={styles.screen}> <View style={{ padding: 10, backgroundColor: 'black', flexDirection: 'row', gap: 16, }}> <TextInput placeholder="Enter text" placeholderTextColor="red" /> <Pressable style={{ width: 32, height: 32, backgroundColor: 'red' }}> <Text>Hello</Text> </Pressable> </View> </View>
or it works if you remove the Hello sibling to the text input:
<View style={styles.screen}> <Pressable style={{ padding: 10, backgroundColor: 'black', flexDirection: 'row', gap: 16, }}> <TextInput placeholder="Enter text" placeholderTextColor="red" /> </Pressable> </View>
I expect the text input with the visible placeholder text to be correctly tapped on
React Native open source
macOS: 14.6.1, Apple M3 chip
<!-- Replace this line with your logs. *DO NOT* remove the backticks! -->
1.38.1
Homebrew
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is there an existing issue for this?
Steps to reproduce
yarn
, thencd ios && pod install
to install dependenciesnpx react-native@latest run-ios
maestro test __e2e__/test.yaml
- tapOn: 'Enter text'
failsActual results
For some reason the test fails to pick up
tapOn
commands in certain conditions.For example it works if you remove the top level Pressable and replace it with a
View
like so:or it works if you remove the Hello sibling to the text input:
Expected results
I expect the text input with the visible placeholder text to be correctly tapped on
About app
React Native open source
About environment
macOS: 14.6.1, Apple M3 chip
Logs
Logs
Maestro version
1.38.1
How did you install Maestro?
Homebrew
Anything else?
No response
The text was updated successfully, but these errors were encountered: