From 672563223f14648ece65671fd07257f0f7fa154a Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Mon, 26 Oct 2026 13:59:37 +0000 Subject: [PATCH 1/2] Require full visibility in SectionList Maestro flow --- packages/rn-tester/.maestro/sectionlist-viewability.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/rn-tester/.maestro/sectionlist-viewability.yml b/packages/rn-tester/.maestro/sectionlist-viewability.yml index 95412407efba..883c66a0404b 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 the second-to-last item: the last one may never be fully visible. - scrollUntilVisible: element: id: 'Cheesecake' direction: RIGHT speed: 60 - visibilityPercentage: 50 - centerElement: true + visibilityPercentage: 100 timeout: 120000 - extendedWaitUntil: visible: From e26ef55afeefef96daef5a836c432e2ad81be049 Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Mon, 26 Oct 2026 14:00:13 +0000 Subject: [PATCH 2/2] Clarify SectionList viewability assertion --- packages/rn-tester/.maestro/sectionlist-viewability.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rn-tester/.maestro/sectionlist-viewability.yml b/packages/rn-tester/.maestro/sectionlist-viewability.yml index 883c66a0404b..f676165500f6 100644 --- a/packages/rn-tester/.maestro/sectionlist-viewability.yml +++ b/packages/rn-tester/.maestro/sectionlist-viewability.yml @@ -29,7 +29,7 @@ appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebo id: 'section-list-viewability-horizontal-wait' timeout: 30000 # The example requires 100% item visibility before reporting viewability. -# Target the second-to-last item: the last one may never be fully visible. +# Target Cheesecake, the item asserted in the output below. - scrollUntilVisible: element: id: 'Cheesecake'