webui/playwright.config.ts

18 lines
388 B
TypeScript
Raw Permalink Normal View History

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