-
Notifications
You must be signed in to change notification settings - Fork 0
Tutorial Visual Regression
Pixel-compare screenshots against baselines (Pillow or Rust zyvor-diff).
Deep: Tutorial 06 · Rust Diff · Autofix and Regression.
# .env
ENABLE_REGRESSION=true
REGRESSION_THRESHOLD=1.0 # max % changed pixels
# Optional faster path:
ENABLE_RUST_PROCESSOR=true # after: make rustmake regression-update
# or
ENABLE_REGRESSION=true zyvor-qa regression --update-baselinesBaselines land in screenshots/baselines/. Current/diffs: screenshots/current/, screenshots/diffs/.
make regression
ENABLE_REGRESSION=true zyvor-qa regression
# Also during full pipeline when ENABLE_REGRESSION=true
zyvor-qa run --source localMulti-route desktop/mobile capture + diff:
zyvor-qa route-sweep https://staging.example.com --autoSee Journeys and Flows. Mission Control: Regression / Screenshot / Compare / Route sweep cards.
- Commit baselines deliberately; review diffs in PR artifacts
- Prefer
ghcr.io/hypersdk/zyaiqaagentso browsers are present - Exit code:
route-sweepfails when routes exceed visual threshold — External CI/CD
Start: Home · Getting Started · Tutorials · Workflows · Admin · Dashboard
Tutorials: Spec→Test · NL · GitHub · Coverage · Visual · Notify · External CI · Agent CI · zyvor.dev · Specs
Build: Architecture · Config · Authoring · Structure · Multi-browser · Rust
Actions: Mission Control · Journeys · API/Auth · Probes · Schedules · Ask Zyvor · Autofix
Ship: API · Webhooks · Security · CI/CD · Deploy · Releases · Enterprise
More: Troubleshoot · FAQ · Glossary · Contributing · Demos · Docs
Guides