Skip to content
Closed
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
5 changes: 5 additions & 0 deletions packages/rn-tester/.maestro/helpers/launch-app-and-search.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebook.react.uiapp
---
- launchApp
- assertVisible: "Components"
- runFlow: ./search.yml
6 changes: 6 additions & 0 deletions packages/rn-tester/.maestro/helpers/search.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebook.react.uiapp
---
- assertVisible:
id: "explorer_search"
- tapOn:
id: "explorer_search"
10 changes: 5 additions & 5 deletions packages/rn-tester/.maestro/legacy-native-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebo
text: "APIs"
- tapOn:
id: "apis-tab"
- scrollUntilVisible:
element:
id: "Legacy Native Module"
direction: DOWN
speed: 40
- runFlow: ./helpers/search.yml
- inputText:
text: "Legacy Native"
- assertVisible:
id: "Legacy Native Module"
- tapOn:
id: "Legacy Native Module"
- tapOn:
Expand Down
13 changes: 5 additions & 8 deletions packages/rn-tester/.maestro/new-arch-examples.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebook.react.uiapp
---
- launchApp
- assertVisible: "Components"
- scrollUntilVisible:
element:
id: "New Architecture Examples"
direction: DOWN
speed: 60
visibilityPercentage: 100
- runFlow: ./helpers/launch-app-and-search.yml
- inputText:
text: "New Architecture"
- assertVisible:
id: "New Architecture Examples"
- tapOn:
id: "New Architecture Examples"
- assertVisible: "HSBA: h: 0, s: 0, b: 0, a: 0"
Expand Down
12 changes: 5 additions & 7 deletions packages/rn-tester/.maestro/pressable.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebook.react.uiapp
---
- launchApp
- assertVisible: "Components"
- scrollUntilVisible:
element:
id: "Pressable"
direction: DOWN
speed: 40
- runFlow: ./helpers/launch-app-and-search.yml
- inputText:
text: "Pressable"
- assertVisible:
id: "Pressable"
- tapOn:
id: "Pressable"
- assertVisible:
Expand Down
29 changes: 12 additions & 17 deletions packages/rn-tester/.maestro/text.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebook.react.uiapp
---
- launchApp
- assertVisible: "Components"
- scrollUntilVisible:
element:
id: "Text"
direction: DOWN
speed: 60
timeout: 60000 #ms
visibilityPercentage: 100
- runFlow: ./helpers/launch-app-and-search.yml
- inputText:
text: "Text"
- assertVisible:
id: "Text"
- tapOn:
id: "Text"
- assertVisible: "Text"
- scrollUntilVisible:
element:
id: "background-border-width"
direction: DOWN
speed: 20
timeout: 60000 #ms
visibilityPercentage: 100
- assertVisible:
id: "example_search"
- tapOn:
id: "example_search"
- inputText:
text: "Background Color"
- hideKeyboard
- assertVisible: "Text with background color only"
- assertVisible: "Text with background color and uniform borderRadii"
- assertVisible: "Text with background color and non-uniform borders"
Expand Down
Loading