From 9df2cf50c2c350ca9f15b2a03c36520144111650 Mon Sep 17 00:00:00 2001 From: Pieter De Baets Date: Wed, 28 Oct 2026 04:45:43 -0700 Subject: [PATCH] Scroll SectionList viewability test past clipped bounds Summary: Scroll the horizontal viewability flow to Brownie before asserting that Cheesecake appears in the callback output. Android accessibility bounds are clipped to the viewport, so Maestro can report 100% visibility while Cheesecake is still partly off screen. Revealing the following item brings Cheesecake fully inside the viewport without weakening the viewability assertion or changing its timeout. Changelog: [Internal] Differential Revision: D128053674 --- packages/rn-tester/.maestro/sectionlist-viewability.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/rn-tester/.maestro/sectionlist-viewability.yml b/packages/rn-tester/.maestro/sectionlist-viewability.yml index f676165500f..c92e9f8f564 100644 --- a/packages/rn-tester/.maestro/sectionlist-viewability.yml +++ b/packages/rn-tester/.maestro/sectionlist-viewability.yml @@ -28,11 +28,11 @@ appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebo visible: id: 'section-list-viewability-horizontal-wait' timeout: 30000 -# The example requires 100% item visibility before reporting viewability. -# Target Cheesecake, the item asserted in the output below. +# Android accessibility bounds can be clipped at the viewport edge. Revealing +# the following item brings Cheesecake fully into the viewport. - scrollUntilVisible: element: - id: 'Cheesecake' + id: 'Brownie' direction: RIGHT speed: 60 visibilityPercentage: 100