Skip to content

test(flows): native e2e + fix flows route warning found on iOS simulator#72

Merged
xuyushun441-sys merged 1 commit into
mainfrom
chore/native-verification
Jun 2, 2026
Merged

test(flows): native e2e + fix flows route warning found on iOS simulator#72
xuyushun441-sys merged 1 commit into
mainfrom
chore/native-verification

Conversation

@xuyushun441-sys
Copy link
Copy Markdown
Contributor

Native verification

Built and booted the app on an iOS simulator (iPhone 17, warm CocoaPods → xcodebuild → launched). The app boots and renders natively (server-config screen). This surfaced a route warning the web preview tolerated silently:

WARN  No route named "flows" exists in nested children:
      [... "flows/index", "flows/[name]/index", "flows/[name]/runs/[runId]"]

After restructuring flows/[name].tsx → flows/[name]/index.tsx (#68), the explicit <Stack.Screen name="flows" /> no longer matches a route. File-based routing already registers the flows/* screens (same as language), so the stale Screen entry is dropped. Confirmed gone after a native relaunch (warning count flat across reload).

Also

  • New Flows e2e screen test (jest-expo / native preset, not web): renders the real Flow detail screen and exercises metadata + diagram render, the empty run-history state, and Run → input dialog → execute with { params: {...} }.

Verification

  • ✅ App builds + boots on iOS simulator (screenshots captured); route warning fixed + verified on device.
  • tsc clean; unit suite green (1164 passed); new Flows e2e passes.
  • ℹ️ The other e2e suites (auth-flow / app-navigation / record-list) were already failing on main before this change (13 failures, identical) — pre-existing, out of scope here.

🤖 Generated with Claude Code

…evice

Native verification: built and booted the app on an iOS simulator (warm
CocoaPods → xcodebuild). It surfaced a route warning that the web preview
tolerated silently —

  WARN No route named "flows" exists in nested children:
       [... "flows/index", "flows/[name]/index", "flows/[name]/runs/[runId]"]

After restructuring flows/[name].tsx → flows/[name]/index.tsx (PR #68), the
explicit `<Stack.Screen name="flows" />` no longer matches a route. File-based
routing already registers the flows/* screens (same as `language`), so drop the
stale Screen entry. Confirmed gone after a native relaunch.

Also add a Flows e2e screen test (jest-expo / native preset, not web): renders
the real Flow detail screen and exercises metadata + diagram, the empty run
history, and Run → input dialog → execute with `{ params: {...} }`.

Note: the other e2e suites (auth-flow / app-navigation / record-list) were
already failing on main before this change — out of scope here.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@xuyushun441-sys xuyushun441-sys merged commit 41fd537 into main Jun 2, 2026
1 of 4 checks passed
@xuyushun441-sys xuyushun441-sys deleted the chore/native-verification branch June 2, 2026 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants