Skip to content

Multi Browser and Emulation

hypersdk edited this page Aug 7, 2026 · 1 revision

Multi-Browser and Emulation

Run beyond Chromium desktop. Flags live in .env / CI env.

Multi-browser

ENABLE_MULTI_BROWSER=true
# Install browsers once:
npx playwright install --with-deps

Runs Chromium + Firefox + WebKit (see playwright/playwright.config.ts). Agent-repo smoke workflow can dispatch a multi-browser job — Agent CI and Kubernetes.

ENABLE_MULTI_BROWSER=true npx playwright test
# or via pipeline when the flag is set
zyvor-qa test

Auth setup project

ENABLE_AUTH_SETUP=true
ZYVOR_TEST_USER=…
ZYVOR_TEST_PASSWORD=…
ENABLE_DASHBOARD_TESTS=true

Playwright setup writes storageState for reuse (auth-test / flow). Marketing sites without login should keep dashboard tests off — FAQ.

Emulation projects

ENABLE_EMULATION_PROJECTS=true

Adds dark mode / reduced-motion / locale-style projects when configured in Playwright config.

Device / throttle (vitals & flow)

Mission Control and zyvor-qa vitals / flow accept device + network throttle options (Desktop Chrome, mobile, Slow 3G, …) — API Auth Realtime · Journeys and Flows.

CI note

Prefer ghcr.io/hypersdk/zyaiqaagent images that already bundle browsers; multi-browser increases runtime — shard with ZYVOR_SHARD / Action shard input.

Related: Configuration · External CI/CD

Clone this wiki locally