fc5ee4f2c6
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.
30 lines
807 B
JavaScript
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,
|
|
},
|
|
});
|