Files
VibemakerSandbox/app/playwright.config.js
chenlin fc5ee4f2c6 feat: release v0.2 multi-robot simulator
Add declarative robot packages, shared simulation lifecycle and Microban ONNX/PD walking with independent head control.

Unify comic UI and chase camera; default robot packages to a 4.5m arena with real collision walls. Include regression tests, asset provenance/licenses and verification evidence.
2026-10-28 14:00:26 +08:00

30 lines
807 B
JavaScript

import { defineConfig } from "@playwright/test";
export default defineConfig({
testDir: "./e2e",
timeout: 180_000,
workers: 1,
reporter: [["list"], ["json", { outputFile: "test-results/results.json" }]],
expect: { timeout: 30_000 },
use: {
baseURL: process.env.TEST_BASE_URL || "http://127.0.0.1:5173",
headless: true,
viewport: { width: 1440, height: 900 },
launchOptions: {
args: [
"--use-gl=angle",
"--use-angle=swiftshader",
"--enable-unsafe-swiftshader",
],
},
trace: "retain-on-failure",
screenshot: "only-on-failure",
},
webServer: process.env.TEST_BASE_URL
? undefined
: {
command: "npm run dev -- --host 127.0.0.1",
url: "http://127.0.0.1:5173",
reuseExistingServer: true,
},
});