Skip to content

Align SectionList Maestro scroll with full-visibility threshold - #59490

Closed
cortinico wants to merge 2 commits into
react:mainfrom
cortinico:codex/sectionlist-viewability-full-visibility
Closed

cortinico wants to merge 2 commits into
react:mainfrom
cortinico:codex/sectionlist-viewability-full-visibility

Conversation

@cortinico

Copy link
Copy Markdown
Contributor

Summary:

The iOS Maestro sectionlist-viewability flow is repeatedly failing on main when it waits for Cheesecake in output, for example https://github.com/react/react-native/actions/runs/40321872438. The test currently stops scrolling once 50% of the item is visible, while the RNTester example sets viewAreaCoveragePercentThreshold: 100. Require full item visibility before asserting that the example reported it. Remove the redundant centering requirement so the scroll can stop at the visibility condition.

This is a targeted test-stability hypothesis; the draft PR CI must confirm it on the iOS simulator. If the 100% condition cannot be reached reliably, the PR should not be merged as-is.

Changelog:

[INTERNAL] [FIXED] - Align the SectionList viewability flow with the example visibility threshold.

Test Plan:

  • yarn prettier --check packages/rn-tester/.maestro/sectionlist-viewability.yml — passed.
  • git diff --check — passed.
  • iOS Maestro Cloud could not be run locally; verify on draft PR CI.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 26, 2026
@cortinico
cortinico marked this pull request as ready for review October 26, 2026 14:05
@meta-codesync

meta-codesync Bot commented Oct 26, 2026

Copy link
Copy Markdown

@cortinico has imported this pull request. If you are a Meta employee, you can view this in D127579075.

@meta-codesync meta-codesync Bot closed this in 859d9b8 Oct 26, 2026
@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Oct 26, 2026
@meta-codesync

meta-codesync Bot commented Oct 26, 2026

Copy link
Copy Markdown

@cortinico merged this pull request in 859d9b8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant