Visual regression
Trigger and review visual regression test runs. For the workflow, see Run VRT from the CLI.
yofix vrt run
Trigger a run for a ready deployment.
yofix vrt runyofix vrt run --deployment dpl_4f2a9c| Flag | Description |
|---|---|
--deployment <id> | Deployment ID to run VRT against (defaults to the latest ready) |
yofix vrt list
List runs.
yofix vrt listyofix vrt list --status completed --branch main --limit 10| Flag | Default | Description |
|---|---|---|
--status <status> | all | Filter by run status |
--branch <branch> | all | Filter by branch |
--limit <n> | 20 | Maximum rows |
yofix vrt get
Show a run summary.
yofix vrt get <runId>yofix vrt diff
Summarize changed screenshots in a run (route, viewport, diff percentage).
yofix vrt diff <runId>yofix vrt approve
Approve screenshots as the new baseline.
yofix vrt approve <runId> --allyofix vrt approve <runId> --screenshot scr_77| Flag | Description |
|---|---|
--all | Approve every pending screenshot in the run |
--screenshot <id> | Approve a single screenshot |
-y, --yes | Skip confirmation |
yofix vrt reject
Reject a screenshot change. Does not promote it to baseline.
yofix vrt reject <runId> --screenshot scr_77 --reason "Nav overlaps logo"| Flag | Description |
|---|---|
--screenshot <id> | Screenshot to reject |
--reason <text> | Optional rejection reason |
yofix vrt rerun
Re-run a run with the same commit and branches.
yofix vrt rerun <runId>yofix vrt cancel
Cancel a running or pending run.
yofix vrt cancel <runId>yofix vrt logs
Show pipeline logs for a run.
yofix vrt logs <runId>yofix vrt logs <runId> --raw| Flag | Description |
|---|---|
--raw | Print raw log text instead of structured rows |
yofix vrt delete
Delete a run and its screenshots.
yofix vrt delete <runId> --yes| Flag | Description |
|---|---|
-y, --yes | Skip confirmation |