webui/playwright.config.ts
Djuri Baars 0041ec3d9a
All checks were successful
/ check-changes (push) Successful in 18s
/ build (push) Successful in 3m49s
Create testing specific vite config, add multi font support, bugfixes
2024-12-30 00:50:33 +01:00

17 lines
393 B
TypeScript

import type { PlaywrightTestConfig } from '@playwright/test';
const config: PlaywrightTestConfig = {
use: {
locale: 'en-GB',
timezoneId: 'Europe/Amsterdam'
},
webServer: {
command: 'npm run build:test && npm run preview',
port: 4173
},
reporter: process.env.CI ? 'github' : 'list',
testDir: 'tests/playwright',
testMatch: /(.+\.)?(test|spec)\.[jt]s/
};
export default config;