# AcadeDoc smoke suite — environment template. # Copy to e2e/.env.smoke (gitignored) and fill in the secrets. # Targets — playwright.smoke.config.ts and the Stagehand suite both read these. PLAYWRIGHT_BASE_URL=http://localhost:5173 PLAYWRIGHT_SERVER_URL=http://localhost:3001 PLAYWRIGHT_BRIDGE_URL=http://localhost:4000 # Real AcadeDoc user used to login through the UI (NOT a synthetic e2e fixture). PLAYWRIGHT_USER_EMAIL=corentin@acadenice.fr PLAYWRIGHT_USER_PASSWORD=changeme # --- Stagehand (R4.8) --- # Required to run `pnpm run smoke:stagehand`. Get a key at console.anthropic.com. # When empty, the Stagehand suite refuses to start and the Playwright-pure # smoke suite (R4.7) still works without it. ANTHROPIC_API_KEY= # Model used as the action planner. Haiku is the cheap-and-fast default. # Other valid values: anthropic/claude-sonnet-4-6, anthropic/claude-opus-4-6. STAGEHAND_MODEL=anthropic/claude-haiku-4-5-20251001 # "true" to launch a headed Chromium (debug). Default headless. STAGEHAND_HEADED=false # 0 = silent, 1 = info, 2 = debug. Default 1. STAGEHAND_VERBOSE=1