Files
replayweb.page/playwright.config.js
T
Ilya Kreymer 2bca66e3ec 2.3.14 release (#437)
- update to wabac.js 2.23.4 to make hashing optional, not require wasm
- add tests with CSP policy in place
2025-06-17 20:51:56 -04:00

41 lines
986 B
JavaScript

/* eslint-env node */
import { defineConfig, devices } from "@playwright/test";
export default defineConfig({
reporter: process.env.CI ? "github" : "list",
expect: { timeout: 30_000 },
projects: [
{
name: "chrome",
use: { ...devices["Desktop Chrome"], channel: "chrome" },
},
{
name: "firefox",
use: { ...devices["Desktop Firefox"] },
},
{
name: "webkit",
use: { ...devices["Desktop Safari"] },
},
],
webServer: [
{
command: "yarn run test-start-prod",
url: "http://127.0.0.1:9990",
timeout: 120 * 1000,
reuseExistingServer: !process.env.CI,
},
{
command: "yarn run test-start-embed",
url: "http://127.0.0.1:8020",
timeout: 120 * 1000,
reuseExistingServer: !process.env.CI,
},
{
command: "yarn run test-start-sandbox",
url: "http://127.0.0.1:8030",
timeout: 120 * 1000,
reuseExistingServer: !process.env.CI,
},
],
});