feat(planning): ship holiday-aware planning and assistant upgrades
This commit is contained in:
@@ -1,14 +1,17 @@
|
||||
import { defineConfig, devices } from "@playwright/test";
|
||||
|
||||
const e2ePort = process.env["PLAYWRIGHT_TEST_PORT"] ?? "3110";
|
||||
const e2eBaseUrl = process.env["PLAYWRIGHT_TEST_BASE_URL"] ?? `http://localhost:${e2ePort}`;
|
||||
|
||||
export default defineConfig({
|
||||
testDir: "./e2e",
|
||||
fullyParallel: true,
|
||||
fullyParallel: false,
|
||||
forbidOnly: !!process.env["CI"],
|
||||
retries: process.env["CI"] ? 2 : 0,
|
||||
...(process.env["CI"] ? { workers: 1 } : {}),
|
||||
workers: 1,
|
||||
reporter: "html",
|
||||
use: {
|
||||
baseURL: "http://localhost:3100",
|
||||
baseURL: e2eBaseUrl,
|
||||
trace: "on-first-retry",
|
||||
},
|
||||
projects: [
|
||||
@@ -18,9 +21,9 @@ export default defineConfig({
|
||||
},
|
||||
],
|
||||
webServer: {
|
||||
command: "pnpm dev",
|
||||
url: "http://localhost:3100",
|
||||
reuseExistingServer: !process.env["CI"],
|
||||
timeout: 120000,
|
||||
command: "node ./e2e/test-server.mjs",
|
||||
url: e2eBaseUrl,
|
||||
reuseExistingServer: false,
|
||||
timeout: 180000,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user