mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-09 01:03:11 +00:00
23 lines
476 B
TypeScript
23 lines
476 B
TypeScript
import { defineConfig, devices } from "@playwright/test";
|
|
|
|
export default defineConfig({
|
|
testDir: "./tests",
|
|
testMatch: "**/browser.spec.ts",
|
|
fullyParallel: false,
|
|
forbidOnly: !!process.env.CI,
|
|
retries: process.env.CI ? 2 : 0,
|
|
workers: 1,
|
|
reporter: "line",
|
|
timeout: 120000, // 2 minutes per test
|
|
use: {
|
|
trace: "on-first-retry",
|
|
headless: true
|
|
},
|
|
projects: [
|
|
{
|
|
name: "chromium",
|
|
use: { ...devices["Desktop Chrome"] }
|
|
}
|
|
]
|
|
});
|