illustrated-cluster / playwright.config.ts
joeddav's picture
Publish WIP HF Space snapshot
1f77aa7
raw
history blame contribute delete
703 Bytes
import { defineConfig, devices } from '@playwright/test'
export default defineConfig({
testDir: './tests',
testMatch: /.*\.spec\.ts/,
fullyParallel: false,
retries: 0,
reporter: 'list',
workers: 1,
use: {
baseURL: 'http://127.0.0.1:4173',
trace: 'on-first-retry',
viewport: {
width: 1600,
height: 1100,
},
},
projects: [
{
name: 'chromium',
use: {
...devices['Desktop Chrome'],
viewport: {
width: 1600,
height: 1100,
},
},
},
],
webServer: {
command: 'npm run preview -- --host 127.0.0.1 --port 4173',
port: 4173,
reuseExistingServer: true,
timeout: 120000,
},
})