Skip to main content

1. Install the CLI

Verify your environment:

2. Authenticate

This opens your browser for login. For CI, use an API key:

3. Initialize your project

This creates grantiva.yml with auto-detected scheme and simulator settings.

4. Define your screens

Edit grantiva.yml to list the screens you want to test:

5. Capture baselines

Take initial screenshots:
Approve them as baselines:

6. Run comparisons

After making changes, compare against baselines:
Or run the full pipeline (build + capture + compare + upload):

7. Add to CI

Results are posted as a GitHub Check Run on your pull request.

How diffing works

Each screen is compared using two metrics: A screen fails if either threshold is exceeded. Adjust in grantiva.yml:

Next steps