chore(repo): initialize planarchy workspace
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
import { defineConfig, devices } from "@playwright/test";
|
||||
|
||||
export default defineConfig({
|
||||
testDir: "./e2e",
|
||||
fullyParallel: true,
|
||||
forbidOnly: !!process.env["CI"],
|
||||
retries: process.env["CI"] ? 2 : 0,
|
||||
...(process.env["CI"] ? { workers: 1 } : {}),
|
||||
reporter: "html",
|
||||
use: {
|
||||
baseURL: "http://localhost:3100",
|
||||
trace: "on-first-retry",
|
||||
},
|
||||
projects: [
|
||||
{
|
||||
name: "chromium",
|
||||
use: { ...devices["Desktop Chrome"] },
|
||||
},
|
||||
],
|
||||
webServer: {
|
||||
command: "pnpm dev",
|
||||
url: "http://localhost:3100",
|
||||
reuseExistingServer: !process.env["CI"],
|
||||
timeout: 120000,
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user