18 lines
441 B
TypeScript
18 lines
441 B
TypeScript
|
|
import { defineConfig } from '@playwright/test';
|
||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
testDir: './verification',
|
||
|
|
timeout: 30000,
|
||
|
|
use: {
|
||
|
|
baseURL: 'http://localhost:3000',
|
||
|
|
headless: true,
|
||
|
|
screenshot: 'only-on-failure',
|
||
|
|
video: 'retain-on-failure',
|
||
|
|
},
|
||
|
|
webServer: {
|
||
|
|
command: 'echo "Server already running"',
|
||
|
|
url: 'http://localhost:3000',
|
||
|
|
reuseExistingServer: true,
|
||
|
|
},
|
||
|
|
});
|