Skip to content

Commit 00f6309

Browse files
strzhaoclaude
andcommitted
fix(test-app): keep the inert surface control above the settings fold
Adding the Snapshot depth section (#3786) pushed the Inert surface card into the band the iOS 26 floating tab bar covers on a 402x874 phone, so open-inert-surface stopped being visible after the Settings tab tap: agent-device refuses invisible targets, its differential legs went red every night since 10-18 (settle-after-tap step 5, tap-retry-if-no-change step 3), while Maestro's presence-based check kept passing. The settle flow's own guard rejects an inserted scroll and pins the assert on this control, so the fixture restores the reachability the flows were written against: the inert card is the second section, ahead of the growth that followed it. Local snapshot before: the settings tree ended at 'Open accessory setup lab' with '[content below scroll-area hidden]'; after: open-inert-surface resolves at (201, 609) and the tap navigates to the inert screen. Co-Authored-By: Claude Code <[email protected]>
1 parent 6f5b86a commit 00f6309

1 file changed

Lines changed: 15 additions & 11 deletions

File tree

‎examples/test-app/src/screens/SettingsScreen.tsx‎

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,21 @@ export function SettingsScreen(props: SettingsScreenProps) {
7676
/>
7777
</SectionCard>
7878

79+
{/* The differential flows assert and tap this control straight after the
80+
Settings tab, and their settle guard rejects any inserted scroll, so
81+
this card stays the second section: every later section lands under
82+
the fold's floating tab bar on a 402x874 phone. */}
83+
<SectionCard
84+
subtitle="Open a surface where a tap provably changes nothing on screen."
85+
title="Inert surface"
86+
>
87+
<ActionButton
88+
label="Open inert surface"
89+
onPress={props.onOpenInertSurface}
90+
testID="open-inert-surface"
91+
/>
92+
</SectionCard>
93+
7994
<SectionCard subtitle="Inspect visible and raw snapshot depth." title="Snapshot depth">
8095
<ActionButton
8196
label="Open snapshot depth lab"
@@ -95,17 +110,6 @@ export function SettingsScreen(props: SettingsScreenProps) {
95110
/>
96111
</SectionCard>
97112

98-
<SectionCard
99-
subtitle="Open a surface where a tap provably changes nothing on screen."
100-
title="Inert surface"
101-
>
102-
<ActionButton
103-
label="Open inert surface"
104-
onPress={props.onOpenInertSurface}
105-
testID="open-inert-surface"
106-
/>
107-
</SectionCard>
108-
109113
<SectionCard
110114
subtitle="Inspect native accessibility snapshots for semantic content inside a WebView."
111115
title="WebView accessibility"

0 commit comments

Comments
 (0)