Files
llm-monitor/playwright.config.js
T
2026-04-25 16:06:59 +02:00

22 lines
495 B
JavaScript

const { defineConfig } = require('@playwright/test');
const baseURL = process.env.TARGET_URL || 'http://127.0.0.1:8011';
module.exports = defineConfig({
testDir: './tests/e2e',
timeout: 45000,
fullyParallel: false,
retries: 0,
reporter: 'list',
use: {
baseURL,
headless: true,
serviceWorkers: 'block'
},
webServer: {
command: 'python3 -m uvicorn main:app --host 127.0.0.1 --port 8011',
url: baseURL,
reuseExistingServer: true,
timeout: 30000
}
});