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
2 changes: 1 addition & 1 deletion .github/workflows/test-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ jobs:
download-path: /tmp/RNTesterBuild/RNTester.app
app-file: /tmp/RNTesterBuild/RNTester.app
app-id: com.meta.RNTester.localDevelopment
exclude-tags: android-only
exclude-tags: android-only,local-screenshot-baseline
secrets: inherit

test_e2e_ios_rntester:
Expand Down
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: 30000
- 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: 30000
- 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: 30000
- assertVisible:
id: 'fade-in-view'
- tapOn:
id: 'toggle-button'
- assertNotVisible:
id: 'fade-in-view'
- tapOn:
id: 'toggle-button'
- assertVisible:
id: 'fade-in-view'
10 changes: 10 additions & 0 deletions packages/rn-tester/.maestro/appearance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebook.react.uiapp
---
- launchApp
- extendedWaitUntil:
visible: 'Components'
timeout: 30000
- openLink: rntester://example/AppearanceExample
- extendedWaitUntil:
visible: 'useColorScheme hook'
timeout: 30000
31 changes: 31 additions & 0 deletions packages/rn-tester/.maestro/fabric-interop-add-children.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebook.react.uiapp
---
- launchApp
- extendedWaitUntil:
visible: 'Components'
timeout: 30000
- runFlow:
when:
platform: iOS
commands:
- openLink: rntester://example/FabricInteropLayer/add-children
- extendedWaitUntil:
visible:
id: 'add-marker-btn'
timeout: 30000
- assertVisible:
id: 'marker_0'
- assertVisible:
id: 'marker_1'
- assertVisible:
id: 'marker_2'
- assertVisible:
id: 'marker_3'
- assertVisible:
id: 'marker_4'
- assertNotVisible:
id: 'marker_5'
- tapOn:
id: 'add-marker-btn'
- assertVisible:
id: 'marker_5'
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: 30000
- tapOn:
id: 'animated-blur-button'
- assertVisible:
id: 'animated-blur-view'
48 changes: 48 additions & 0 deletions packages/rn-tester/.maestro/flatlist-viewability.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebook.react.uiapp
---
- launchApp
- extendedWaitUntil:
visible: 'Components'
timeout: 30000
- openLink: rntester://example/FlatListExample/onViewableItemsChanged-horizontal-noWaitForInteraction
- extendedWaitUntil:
visible:
id: 'flat_list'
timeout: 30000
- assertVisible:
id: 'output'
text: '.*Pizza, Burger.*'
- openLink: rntester://example/FlatListExample/onViewableItemsChanged-horizontal-waitForInteraction
- extendedWaitUntil:
visible:
id: 'flat_list'
timeout: 30000
- repeat:
times: 3
commands:
- swipe:
start: 90%, 50%
end: 10%, 50%
speed: fast
- extendedWaitUntil:
visible:
id: 'output'
text: '.*Cheesecake.*'
timeout: 10000
- openLink: rntester://example/FlatListExample/onViewableItemsChanged-waitForInteraction
- extendedWaitUntil:
visible:
id: 'flat_list'
timeout: 30000
- repeat:
times: 2
commands:
- swipe:
start: 50%, 80%
end: 50%, 20%
speed: fast
- extendedWaitUntil:
visible:
id: 'output'
text: '.*Cheesecake, Brownie.*'
timeout: 10000
Loading
Loading