Skip to content

Commit a168ec1

Browse files
Abbondanzofacebook-github-bot
authored andcommitted
Target the SectionList viewability item by test ID
Summary: Locate `Brownie` by its existing `testID` in the horizontal SectionList viewability flow rather than its rendered text. Keep the scrolling parameters and viewability callback assertions unchanged. Changelog: [Internal] Differential Revision: D124664726
1 parent 1c6e0c7 commit a168ec1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/rn-tester/.maestro/sectionlist-viewability.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebo
3030
timeout: 30000
3131
- scrollUntilVisible:
3232
element:
33-
text: 'Brownie'
33+
id: 'Brownie'
3434
direction: RIGHT
3535
speed: 60
3636
visibilityPercentage: 50

0 commit comments

Comments
 (0)