Files
TallyNote/playwright.config.ts
T
Qiufeng 9719429f4a
TallyNote release / linux-x64 (push) Failing after 2m41s
feat: add TallyNote local reimbursement ledger
2026-08-29 01:02:29 +08:00

26 lines
670 B
TypeScript

import { defineConfig, devices } from "@playwright/test";
export default defineConfig({
testDir: "./tests/e2e",
timeout: 30_000,
use: {
baseURL: "http://127.0.0.1:3400",
trace: "retain-on-failure",
...devices["Desktop Chrome"],
},
webServer: {
command: "node dist/server/index.js",
url: "http://127.0.0.1:3400/health",
reuseExistingServer: false,
timeout: 120_000,
env: {
NODE_ENV: "production",
TALLYNOTE_HOST: "127.0.0.1",
TALLYNOTE_PORT: "3400",
TALLYNOTE_PUBLIC_ORIGIN: "http://127.0.0.1:3400",
TALLYNOTE_COOKIE_SECURE: "false",
TALLYNOTE_DATA_DIR: "/tmp/tallynote-e2e",
},
},
});