This repository has been archived on 2026-10-14. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
mortar/playwright.config.mjs
tony 43fe76158c
Mortar contribution checks / Mortar baseline and browser checks (push) Successful in 3m15s
Extract independent MIT Mortar kit and contribution workflow
2026-10-13 22:16:21 +01:00

18 lines
422 B
JavaScript

import { defineConfig } from "@playwright/test";
export default defineConfig({
testDir: "tests/browser",
workers: 4,
timeout: 30000,
use: {
baseURL: "http://127.0.0.1:4340",
launchOptions: process.env.UI_TEST_CHROME
? { executablePath: process.env.UI_TEST_CHROME }
: {},
},
webServer: {
command: "npm run dev",
url: "http://127.0.0.1:4340",
reuseExistingServer: false,
},
});