mobile-sim-verification
Mobile Simulator Verification
The mobile counterpart to cdp-verification. There is no CDP on a phone: input goes through
Maestro, evidence comes from simctl screenshots and recordings, and state comes from the real local
API and relay. "Rules" is what counts as valid evidence. "Mechanics" is how to get there.
apps/mobile/scripts/e2e/host-states.sh is a working example.
Rules
-
Use the real screen. Sign in and reach the screen the way a user does. A temporary preview route that mounts one component with fixed props is diagnostic support, and must be reported as such. It hides the header, the data hooks, loading states and navigation.
-
Drive state through real services. Change what the app sees by changing the local API or relay (register a host, open or close its socket), not by seeding the query cache.