You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5f6dfb3
Browse filesBrowse the repository at this point in the historyBrowse files
feat(test-app): add a Bluesky-depth heavy feed screen (#3884)
* feat(test-app): add a Bluesky-depth heavy feed screen
A JavaScript-only route that reproduces a heavy React Native home feed: 30
nested containers above a virtualized list of composite posts with image,
link, quote, and quote-with-media embeds. Its native accessibility tree is
deeper than 65 levels, so XCTest tree capture fails with
kAXErrorIllegalArgument and recovers through private AX, as on Bluesky
1.136. Settings links to it with open-heavy-feed.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* refactor(test-app): share one route-param parser and keep the heavy feed card last
Review on #3884: HeavyFeedScreen, DeepTreeScreen and TickerScreen each
carried a copy of clampInteger; they now import it from route-params.ts.
The heavy feed entry moves to its own last Settings card so the cards
the Maestro differential flows tap without scrolling keep their
positions (#1299). The README node count now matches the measured
305-308 raw nodes.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
Copy file name to clipboardExpand all lines: examples/test-app/README.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ It is intentionally small, but each surface is dense with durable accessibility
19
19
-`Automation lab`: long-press, alert-result, app-event, app-state, appearance, orientation, permission-recovery, log canaries, a flattened (`accessible={true}`) text input, and an Apple Pay sheet hosted in `com.apple.PassbookUIService`
20
20
-`WebView accessibility`: a deterministic semantic fixture plus live websites with varied HTML for native accessibility snapshot verification
21
21
-`Perf lab`: seeded JavaScript render problems for `react-devtools profile`, one per scenario (see [Perf lab](#perf-lab))
22
+
-`Heavy feed`: a Bluesky-shaped home feed whose accessibility tree is deeper than 65 levels (see [Heavy feed](#heavy-feed))
22
23
23
24
Navigation uses Expo Router native bottom tabs, so the tab bar itself is also part of the test surface.
`src/screens/PerfLabScreen.tsx` imports only React and React Native, so it can be copied into a bare React Native app to check the profiler on other React Native versions.
263
264
265
+
## Heavy feed
266
+
267
+
**Settings → Open heavy feed** (`open-heavy-feed`) opens a JavaScript-only reproduction of a heavy
268
+
React Native home feed, shaped after Bluesky 1.136. Thirty nested containers stand in for its
269
+
navigation and provider layers. Below them a virtualized list renders posts with avatar, text,
270
+
image, link, quote, and quote-with-media embeds. Every level opts out of view flattening, so the
271
+
native accessibility tree is deeper than 65 levels and holds about 300 raw nodes.
272
+
273
+
On this screen the XCTest tree capture fails with `kAXErrorIllegalArgument` and recovers through
274
+
private AX, while the simulator accessibility bridge still answers. Use it to reproduce deep-tree
275
+
capture, recovery, and gesture-routing behavior without a third-party app. `wrappers` (default 30)
276
+
and `posts` (default 60) route parameters change the shape.
277
+
278
+
The stable ids are `heavy-feed-title`, `heavy-feed-liked-count`, `heavy-feed-last-action`, and per
279
+
post `heavy-post-<n>`, `heavy-post-<n>-like`, `-reply`, `-repost`, and `-more`. A like press updates
280
+
`Liked posts: <count>`, and a long press on a post sets `Last action: held post <n>`.
281
+
264
282
## Local Agent Device suites
265
283
266
284
The repo includes two local suites for iterating on the fixture app:
0 commit comments