Skip to content

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.

Terminal window
yofix vrt run
yofix vrt run --deployment dpl_4f2a9c
FlagDescription
--deployment <id>Deployment ID to run VRT against (defaults to the latest ready)

yofix vrt list

List runs.

Terminal window
yofix vrt list
yofix vrt list --status completed --branch main --limit 10
FlagDefaultDescription
--status <status>allFilter by run status
--branch <branch>allFilter by branch
--limit <n>20Maximum rows

yofix vrt get

Show a run summary.

Terminal window
yofix vrt get <runId>

yofix vrt diff

Summarize changed screenshots in a run (route, viewport, diff percentage).

Terminal window
yofix vrt diff <runId>

yofix vrt approve

Approve screenshots as the new baseline.

Terminal window
yofix vrt approve <runId> --all
yofix vrt approve <runId> --screenshot scr_77
FlagDescription
--allApprove every pending screenshot in the run
--screenshot <id>Approve a single screenshot
-y, --yesSkip confirmation

yofix vrt reject

Reject a screenshot change. Does not promote it to baseline.

Terminal window
yofix vrt reject <runId> --screenshot scr_77 --reason "Nav overlaps logo"
FlagDescription
--screenshot <id>Screenshot to reject
--reason <text>Optional rejection reason

yofix vrt rerun

Re-run a run with the same commit and branches.

Terminal window
yofix vrt rerun <runId>

yofix vrt cancel

Cancel a running or pending run.

Terminal window
yofix vrt cancel <runId>

yofix vrt logs

Show pipeline logs for a run.

Terminal window
yofix vrt logs <runId>
yofix vrt logs <runId> --raw
FlagDescription
--rawPrint raw log text instead of structured rows

yofix vrt delete

Delete a run and its screenshots.

Terminal window
yofix vrt delete <runId> --yes
FlagDescription
-y, --yesSkip confirmation