Repository navigation
Commit 859d9b8
Align SectionList Maestro scroll with full-visibility threshold (#59490)
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.
Pull Request resolved: #59490
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.
Reviewed By: christophpurrer
Differential Revision: D127579075
Pulled By: cortinico
fbshipit-source-id: 40ab0d6827e18c8161b08820e8f547d4f2994e6f1 parent c9b444c commit 859d9b8
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
| |||
0 commit comments