Browser Tests (Mock) Command
Runs UI tests in mock mode using fake APIs instead of real services.
/plugin marketplace add jleechanorg/claude-commands/plugin install claude-commands@claude-commands-marketplaceWhen this command is invoked, YOU (Claude) must execute these steps immediately: This is NOT documentation - these are COMMANDS to execute right now. Use TodoWrite to track progress through multi-phase workflows.
Action Steps:
./run_ui_tests.sh mockPurpose: Mock version of /testuif - identical functionality but runs with FAKE/MOCK APIs instead of real APIs
Action: Redirect to /testuif command with mock mode configuration
Usage: /testui
This command is exactly the same as /testuif but runs in mock mode:
/think → /execute with comprehensive testingONLY DIFFERENCE: Uses mock APIs instead of real APIs
See: /testuif command documentation for complete details
Mock Mode Configuration:
# Environment variables for mock mode
export USE_MOCK_FIREBASE=true
export USE_MOCK_GEMINI=true
export API_COST_MODE=free
# Same execution as testuif but with mocks
./run_ui_tests.sh mock --playwright --enhanced-validation
| Feature | /testui (Mock) | /testuif (Real) |
|---|---|---|
| Firebase | Mock responses | Real Firestore API |
| Gemini | Mock responses | Real API calls ($) |
| Cost | Free | Costs money |
| Validation | Same methodology | Same methodology |
| Screenshots | Same approach | Same approach |
| PR Documentation | Same format | Same format |
For complete command documentation, usage examples, and enhanced validation protocols, see: .claude/commands/testuif.md