diff --git a/packages/rn-tester/.maestro/sectionlist-viewability.yml b/packages/rn-tester/.maestro/sectionlist-viewability.yml index 95412407efba..f676165500f6 100644 --- a/packages/rn-tester/.maestro/sectionlist-viewability.yml +++ b/packages/rn-tester/.maestro/sectionlist-viewability.yml @@ -28,15 +28,14 @@ appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebo visible: id: 'section-list-viewability-horizontal-wait' timeout: 30000 -# Target the second-to-last item: the last one can never reach the center, so -# `centerElement` would burn extra swipes at the end of the list. +# The example requires 100% item visibility before reporting viewability. +# Target Cheesecake, the item asserted in the output below. - scrollUntilVisible: element: id: 'Cheesecake' direction: RIGHT speed: 60 - visibilityPercentage: 50 - centerElement: true + visibilityPercentage: 100 timeout: 120000 - extendedWaitUntil: visible: