Files
OSIT-AE-App-Svelte/playwright.config.ts

21 lines
509 B
TypeScript

import type { PlaywrightTestConfig } from '@playwright/test';
const config: PlaywrightTestConfig = {
webServer: {
command: 'npm run dev',
port: 5173,
reuseExistingServer: true,
},
testDir: 'tests',
testMatch: 'tests/**/*.test.ts',
testIgnore: ['tests/disabled/**'],
reporter: 'list',
use: {
baseURL: 'http://demo.localhost:5173',
// baseURL: 'https://dev-demo.oneskyit.com',
trace: 'on-first-retry'
}
};
export default config;