Generate a config file
grantiva.yml in your project root. The CLI auto-detects your Xcode scheme and workspace.
Configuration reference
Screens
Each screen has aname and a path that describes how to navigate to it.
Simple launch screenshot
Navigation steps
| Action | Description |
|---|---|
launch | Screenshot immediately after app launch |
tap: "Label" | Tap element by accessibility label |
swipe: direction | Swipe up, down, left, or right |
wait: N | Wait N seconds |
Diff thresholds
| Setting | Default | Description |
|---|---|---|
threshold | 0.02 | Maximum pixel difference percentage (2%) |
perceptual_threshold | 5.0 | Maximum CIE76 perceptual color distance |
Directory structure
After running commands, Grantiva creates:~/.grantiva/auth.json.