Skip to content

Onboarding Wizard

The Wizard runs in the portal the first time you open a new project.

Wizard welcome screen It walks you through four steps and validates each one before moving on.

Overview

┌──────────┐    ┌──────────┐    ┌──────────┐    ┌───────────┐
│ Language │───►│   AI     │───►│ Project  │───►│ Preflight │
│ & Theme  │    │ Provider │    │  Import  │    │  Checks   │
└──────────┘    └──────────┘    └──────────┘    └───────────┘
   Step 1          Step 2          Step 3          Step 4

The Wizard runs entirely in the browser. The local agent supplies project data (file scan, Node/Git versions, Playwright config) over the WebSocket bridge.

Step 1: Language & Theme

Pick English or Deutsch, plus a UI theme. The choice controls all portal labels, tooltips and AI prompt templates.

See Language Selection.

Step 2: AI Connection

Connect a provider — Gemini, OpenAI, Claude, Azure OpenAI, OpenRouter, Groq, DeepSeek, Ollama, LM Studio or your AI Proxy. The agent stores the key encrypted client-side; the raw key never reaches the portal database.

You can also pick Observer Mode and skip the AI step entirely — Runner, Test Hub, Accessibility Auditor and reports all work without it.

See AI Connection.

Step 3: Project Import

The agent scans the project directory and reports:

  • Page Object Models, Fixtures, Test files
  • node_modules presence and Playwright browser binaries
  • playwright.config.ts parsed for projects, baseURL, reporter

You confirm the detected paths or scaffold a fresh npm init playwright@latest.

See Project Import.

Step 4: Preflight Checks

The agent validates the environment:

  • Node.js version (≥ 20)
  • Git availability (≥ 2.30)
  • Filesystem write permissions for the project
  • Playwright browser binaries

Red checks block completion until resolved. Green means you're ready.

See Preflight Checks.

TIP

Re-run the Wizard at any time from Portal → Settings → General → Re-run Wizard. Useful when switching projects or rotating AI keys.

After completion

Once all four steps pass, the portal opens the project Overview dashboard. Test Hub and Runner load with the agent's file tree; if AI was configured, Brain and Swarm light up.

Per-project Wizard state is stored as portal-side metadata, keyed by the project root path the agent reports.

Troubleshooting

SymptomCauseFix
Wizard does not appearAlready completed for this projectRe-run from Settings
AI step rejects keyWrong provider/region or expired keyPick the right region; rotate the key
Project import failsNo playwright.config.tsPick a valid Playwright project or use Initialise
Preflight shows redMissing Node 20+ / Git 2.30+Install or update; restart the agent
Agent disconnected mid-wizardTerminal closed, network dropRe-run npx @xyva/agent start --project ., refresh the portal

Cloud portal · Local Playwright agent.