Component evidence
Configure Playwright for cross-browser testing and local dev server.
// Source: https://github.com/btahir/react-kino | License: MIT | Copyright 2026 Bilal Tahir
// Provided via justclaw.it.com; keep this notice with the code.
import { defineConfig, devices } from "@playwright/test";
export default defineConfig({
testDir: "./tests/browser",
timeout: 45000,
expect: { timeout: 10000 },
fullyParallel: false,
workers: 2,
reporter: "list",
use: {
baseURL: process.env.KINO_TEST_URL ?? "http://127.0.0.1:4311",
trace: "retain-on-failure",
},
projects: [
{ name: "chromium", use: { ...devices["Desktop Chrome"] } },
{ name: "firefox", use: { ...devices["Desktop Firefox"] } },
{ name: "webkit", use: { ...devices["Desktop Safari"] } },
],
webServer: {
command: "pnpm --filter @react-kino/docs exec next dev --port 4311",
ur
... (truncated -- full source via MCP)