Something went wrong. Try again.
geometric packing game (tetris-ish) on an icosahedron
Something went wrong. Try again.
rad-cohesion playwright.config.ts
954 B · 33 lines
TypeScript
at appview
12345678910111213141516171819202122232425262728293031323334import { randomUUID } from "node:crypto";import { tmpdir } from "node:os";import { join } from "node:path";import { defineConfig } from "@playwright/test";
const databasePath = join(tmpdir(), `rad-cohesion-playwright-${randomUUID()}.sqlite`);
export default defineConfig({ testDir: "./tests", testIgnore: "**/pwa/**", fullyParallel: false, workers: 1, use: { baseURL: "http://127.0.0.1:5187", viewport: { width: 1440, height: 960 }, launchOptions: { args: [ "--allow-file-access-from-files", "--no-sandbox", "--use-angle=swiftshader", "--enable-unsafe-swiftshader", ], }, screenshot: "only-on-failure", }, webServer: process.env.RAD_BROWSER_FILE ? undefined : { command: `DATABASE_PATH=${databasePath} INGESTION_ENABLED=false npm run dev -- --port 5187 --strictPort`, url: "http://127.0.0.1:5187", reuseExistingServer: false, },});