idb-claude-mobile-testing
IDB CLI Testing for Claude Code Mobile
Overview
Systematic UI automation using IDB CLI for Claude Code Mobile app testing.
Core principle: Use IDB accessibility tree to find elements by testID (AXUniqueId), extract coordinates, then interact. No guessing coordinates. No MCP dependencies.
When to use: xc-mcp unavailable, expo-mcp local tools unavailable, need autonomous Gate 4A testing
Prerequisites Check
# Verify IDB installed
which idb && which idb_companion
# Start idb_companion (if not running)
ps aux | grep idb_companion || idb_companion &
More from krzemienski/claude-mobile-expo
react-native-expo-development
Use when developing React Native components, installing packages via expo-mcp, implementing screens, or following RN best practices - integrates expo-mcp workflows (add_library, search_documentation) with production patterns from Gifted Chat and Stream
23claude-mobile-ios-testing
Use when testing iOS apps on simulator, capturing screenshots for validation gates, automating UI testing with expo-mcp and xc-mcp, or verifying visual correctness - combines expo-mcp autonomous testing (React Native level) with xc-mcp simulator management (iOS level)
8claude-mobile-metro-manager
Use when starting Metro bundler for Expo development, debugging Metro errors, or enabling expo-mcp local capabilities - manages Metro lifecycle with EXPO_UNSTABLE_MCP_SERVER=1 flag for autonomous testing
4claude-mobile-validation-gate
Use when executing validation gates 3A, 4A, or 6A-E, verifying phase completion with expo-mcp visual testing, or encountering test failures - automates gate execution with expo-mcp autonomous verification and HARD STOP enforcement
3claude-mobile-cost-tracking
Use when implementing Claude API cost tracking, monitoring token usage, displaying cost metrics in Settings, or user asks about costs - calculates exact costs using $0.003/1k input and $0.015/1k output pricing with per-session aggregation
2websocket-integration-testing
Use when testing WebSocket servers, validating message protocols, executing Gate 3A, or tempted to use mocks - enforces functional testing with wscat and real filesystem operations, NO MOCKS allowed
2