Files
dreport/frontend/playwright.config.ts
2026-03-29 22:35:57 +03:00

22 lines
445 B
TypeScript

import { defineConfig } from '@playwright/test'
export default defineConfig({
testDir: './tests/visual',
outputDir: './tests/visual/test-results',
use: {
baseURL: 'http://localhost:5173',
viewport: { width: 1400, height: 900 },
},
webServer: {
command: 'bun run dev',
port: 5173,
reuseExistingServer: true,
timeout: 30000,
},
expect: {
toHaveScreenshot: {
maxDiffPixelRatio: 0.01,
},
},
})