Skip to content

Commit 85065b3

Browse files
Abbondanzometa-codesync[bot]
authored andcommitted
Target the SectionList viewability item by test ID (#58991)
Summary: Pull Request resolved: #58991 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 fbshipit-source-id: 1b0156cd360b894c1a627f2d7d620c3c7986b372
1 parent f6f8e02 commit 85065b3

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)