Something went wrong. Try again.
Monorepo for the nibling.run platform
Something went wrong. Try again.
123456789101112131415161718import { defineConfig } from "@playwright/test";
// Parallel runs (one per component) each pass their own PORT.const port = Number(process.env.PORT ?? 8951);
export default defineConfig({ testDir: "tests", testMatch: "**/*.spec.ts", use: { baseURL: `http://localhost:${port}` }, webServer: { // Fixture pages live in fixtures/; each imports the components it exercises from ../src. command: `vite fixtures --port ${port} --strictPort`, port, // Reusing a server on this port could test another checkout's fixtures. reuseExistingServer: false, },});