Validate spec
Check .rio/qa.yaml, fixtures, seed definitions, and journey contracts.
rio qa validate Run isolated browser journeys across mobile and desktop viewports in light and dark color schemes, producing PII-masked screenshots, DOM snapshots, traces, accessibility checks, and UX recommendations.
Check .rio/qa.yaml, fixtures, seed definitions, and journey contracts.
rio qa validate Generate deterministic test data with no production PII.
rio qa seed build Propose or scaffold initial user journeys from REVIEW.md.
rio qa init Execute mobile + desktop × light + dark in isolated containers.
rio qa --full REAL TERMINAL CAPTURES
rio qa init
rio qa --full
DOM + trace + mask
a11y + UX
VIEWPORT × THEME REGRESSION TESTING
Define your app boot command, synthetic data seeds, privacy masks, and journey specs in .rio/qa.yaml. Rio executes every journey across four cells (desktop light, desktop dark, mobile light, mobile dark) and verifies both functional assertions and visual/a11y regressions before merge.
version: 1
app:
start: npm run preview -- --host 0.0.0.0 --port 4173
url: http://127.0.0.1:4173
matrix:
viewports: [desktop, mobile]
color_schemes: [light, dark]
privacy:
mask_selectors: ["[data-pii]", "input[type=email]"] PREREQUISITES
Requires a Linux Docker host with firewall control, the paired QA container image, model authentication, and .rio/qa.yaml + REVIEW.md in your repository. Built-in QA budgets cap fast review at 500,000 tokens and deep review at 1,000,000 tokens (screenshots consume vision tokens).
# Build the paired Browser QA image
$ docker build -f worker/Dockerfile.qa -t rio-qa:0.1.0 . BROWSER QA FAQ
Layout overflows, contrast failures, clipped navigation drawers, and broken focus rings frequently appear only on narrow mobile screens or in dark mode. Running every journey across mobile and desktop in both light and dark color schemes catches visual regressions automatically.
rio qa seed build generates deterministic synthetic fixtures so tests never rely on production databases. Masking selectors in .rio/qa.yaml redact sensitive DOM nodes before screenshots are captured or passed to vision models.
Each failing viewport and theme cell records masked screenshots, DOM snapshots, browser console errors, network traces, accessibility violations, and UX recommendations tied to the exact journey step.
Yes. Browser QA runs inside an isolated container built from worker/Dockerfile.qa on a Linux Docker host with firewall control, keeping untrusted app builds separated from your host environment.