19 lines
487 B
JavaScript
19 lines
487 B
JavaScript
// Minimal local Playwright config for the k_client browser flow.
|
|
const { defineConfig } = require("@playwright/test");
|
|
|
|
module.exports = defineConfig({
|
|
testDir: "./tests",
|
|
timeout: 180_000,
|
|
expect: {
|
|
timeout: 15_000,
|
|
},
|
|
use: {
|
|
baseURL: process.env.PORTAL_BASE_URL || "http://127.0.0.1:8766",
|
|
headless: process.env.PW_HEADLESS === "1",
|
|
trace: "on-first-retry",
|
|
screenshot: "only-on-failure",
|
|
video: "retain-on-failure",
|
|
},
|
|
reporter: [["list"]],
|
|
});
|