Skip to content

Commit 035332f

Browse files
cortinicofacebook-github-bot
authored andcommitted
Expand RNTester native interop Maestro coverage (#58444)
Summary: Add direct-deep-link Maestro coverage for native interop scenarios and expand the legacy native module flow to validate its platform-specific result set. Attach the RNTester URL listener before the landing screen becomes observable so warm deep links cannot race startup, and exercise the intended native methods. Exclude the local screenshot-baseline flow from Maestro Cloud. Changelog: [Internal] Differential Revision: D119484762
1 parent 79f67ff commit 035332f

15 files changed

Lines changed: 471 additions & 77 deletions

.github/workflows/test-all.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ jobs:
186186
app-id: com.meta.RNTester.localDevelopment
187187
device-model: iPhone-17-Pro
188188
device-os: iOS-26-2
189-
exclude-tags: android-only
189+
exclude-tags: android-only,local-screenshot-baseline
190190
secrets: inherit
191191

192192
test_e2e_ios_rntester:

packages/rn-tester/.maestro/alert.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebo
88
- extendedWaitUntil:
99
visible:
1010
id: 'alert-with-default-button'
11-
timeout: 10000
11+
timeout: 30000
1212
- tapOn:
1313
id: 'alert-with-default-button'
1414
- assertVisible: 'An external USB drive has been detected!'
@@ -17,7 +17,7 @@ appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebo
1717
- extendedWaitUntil:
1818
visible:
1919
id: 'alert-with-three-buttons'
20-
timeout: 10000
20+
timeout: 30000
2121
- tapOn:
2222
id: 'alert-with-three-buttons'
2323
- assertVisible: 'Do you want to save your changes?'

packages/rn-tester/.maestro/animated-fade-in-view.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebo
88
- extendedWaitUntil:
99
visible:
1010
id: 'toggle-button'
11-
timeout: 10000
11+
timeout: 30000
1212
- assertVisible:
1313
id: 'fade-in-view'
1414
- tapOn:

packages/rn-tester/.maestro/appearance.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@ appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebo
44
- extendedWaitUntil:
55
visible: 'Components'
66
timeout: 30000
7-
- assertVisible:
8-
id: 'components-tab'
9-
- assertVisible:
10-
id: 'apis-tab'
117
- openLink: rntester://example/AppearanceExample
128
- extendedWaitUntil:
139
visible: 'useColorScheme hook'
14-
timeout: 10000
10+
timeout: 30000
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebook.react.uiapp
2+
---
3+
- launchApp
4+
- extendedWaitUntil:
5+
visible: 'Components'
6+
timeout: 30000
7+
- runFlow:
8+
when:
9+
platform: iOS
10+
commands:
11+
- openLink: rntester://example/FabricInteropLayer/add-children
12+
- extendedWaitUntil:
13+
visible:
14+
id: 'add-marker-btn'
15+
timeout: 30000
16+
- assertVisible:
17+
id: 'marker_0'
18+
- assertVisible:
19+
id: 'marker_1'
20+
- assertVisible:
21+
id: 'marker_2'
22+
- assertVisible:
23+
id: 'marker_3'
24+
- assertVisible:
25+
id: 'marker_4'
26+
- assertNotVisible:
27+
id: 'marker_5'
28+
- tapOn:
29+
id: 'add-marker-btn'
30+
- assertVisible:
31+
id: 'marker_5'

packages/rn-tester/.maestro/filter-animated-blur.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebo
88
- extendedWaitUntil:
99
visible:
1010
id: 'animated-blur-button'
11-
timeout: 10000
11+
timeout: 30000
1212
- tapOn:
1313
id: 'animated-blur-button'
1414
- assertVisible:

packages/rn-tester/.maestro/flatlist-viewability.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebo
88
- extendedWaitUntil:
99
visible:
1010
id: 'flat-list-viewability-horizontal-no-wait'
11-
timeout: 10000
11+
timeout: 30000
1212
- assertVisible:
1313
id: 'output'
1414
text: '.*Pizza, Burger.*'
1515
- openLink: rntester://example/FlatListExample/onViewableItemsChanged-horizontal-waitForInteraction
1616
- extendedWaitUntil:
1717
visible:
1818
id: 'flat-list-viewability-horizontal-wait'
19-
timeout: 10000
19+
timeout: 30000
2020
- repeat:
2121
times: 3
2222
commands:
@@ -33,7 +33,7 @@ appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebo
3333
- extendedWaitUntil:
3434
visible:
3535
id: 'flat-list-viewability-vertical-wait'
36-
timeout: 10000
36+
timeout: 30000
3737
- repeat:
3838
times: 2
3939
commands:

0 commit comments

Comments
 (0)