Skip to content
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
24 changes: 24 additions & 0 deletions packages/rn-tester/.maestro/alert.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebook.react.uiapp
---
- launchApp
- extendedWaitUntil:
visible: 'Components'
timeout: 30000
- openLink: rntester://example/AlertExample/default-button
- extendedWaitUntil:
visible:
id: 'alert-with-default-button'
timeout: 10000
- tapOn:
id: 'alert-with-default-button'
- assertVisible: 'An external USB drive has been detected!'
- tapOn: 'OK'
- openLink: rntester://example/AlertExample/three-buttons
- extendedWaitUntil:
visible:
id: 'alert-with-three-buttons'
timeout: 10000
- tapOn:
id: 'alert-with-three-buttons'
- assertVisible: 'Do you want to save your changes?'
- tapOn: 'Cancel'
21 changes: 21 additions & 0 deletions packages/rn-tester/.maestro/animated-fade-in-view.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebook.react.uiapp
---
- launchApp
- extendedWaitUntil:
visible: 'Components'
timeout: 30000
- openLink: rntester://example/Animated/fadeInView
- extendedWaitUntil:
visible:
id: 'toggle-button'
timeout: 10000
- assertVisible:
id: 'fade-in-view'
- tapOn:
id: 'toggle-button'
- assertNotVisible:
id: 'fade-in-view'
- tapOn:
id: 'toggle-button'
- assertVisible:
id: 'fade-in-view'
14 changes: 14 additions & 0 deletions packages/rn-tester/.maestro/appearance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebook.react.uiapp
---
- launchApp
- extendedWaitUntil:
visible: 'Components'
timeout: 30000
- assertVisible:
id: 'components-tab'
- assertVisible:
id: 'apis-tab'
- openLink: rntester://example/AppearanceExample
- extendedWaitUntil:
visible: 'useColorScheme hook'
timeout: 10000
15 changes: 15 additions & 0 deletions packages/rn-tester/.maestro/filter-animated-blur.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebook.react.uiapp
---
- launchApp
- extendedWaitUntil:
visible: 'Components'
timeout: 30000
- openLink: rntester://example/Filter/animated-blur
- extendedWaitUntil:
visible:
id: 'animated-blur-button'
timeout: 10000
- tapOn:
id: 'animated-blur-button'
- assertVisible:
id: 'animated-blur-view'
19 changes: 19 additions & 0 deletions packages/rn-tester/.maestro/textinput-uncontrolled.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebook.react.uiapp
---
- launchApp
- extendedWaitUntil:
visible: 'Components'
timeout: 30000
- openLink: rntester://example/TextInput/uncontrolledComponent
- extendedWaitUntil:
visible:
id: 'uncontrolled-textinput'
timeout: 10000
- tapOn:
id: 'uncontrolled-textinput'
- eraseText
- inputText: 'New value'
- hideKeyboard
- assertVisible:
id: 'uncontrolled-textinput'
text: 'New value'
44 changes: 44 additions & 0 deletions packages/rn-tester/.maestro/touchable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebook.react.uiapp
---
- launchApp
- extendedWaitUntil:
visible: 'Components'
timeout: 30000
- openLink: rntester://example/TouchableExample/feedback-events
- extendedWaitUntil:
visible:
id: 'touchable_feedback_events_button'
timeout: 10000
- tapOn:
id: 'touchable_feedback_events_button'
- assertVisible:
id: 'touchable_feedback_events_console'
- openLink: rntester://example/TouchableExample/highlight
- extendedWaitUntil:
visible:
id: 'touchable_highlight_text_button'
timeout: 10000
- tapOn:
id: 'touchable_highlight_text_button'
- assertVisible:
id: 'touchable_highlight_console'
text: 'TouchableHighlight onPress'
- openLink: rntester://example/TouchableExample/hit-slop
- extendedWaitUntil:
visible:
id: 'touchable_hit_slop_button'
timeout: 10000
- tapOn:
id: 'touchable_hit_slop_button'
- assertVisible:
id: 'touchable_hit_slop'
- openLink: rntester://example/TouchableExample/without-feedback
- extendedWaitUntil:
visible:
id: 'touchable_without_feedback_button'
timeout: 10000
- tapOn:
id: 'touchable_without_feedback_button'
- assertVisible:
id: 'touchable_without_feedback_console'
text: 'TouchableWithoutFeedback onPress'
Loading