Felipe97/llama-cpp-compiled
01.2k
1import { defineConfig, devices } from '@playwright/test';2 3export default defineConfig({4 expect: {5 timeout: 50006 },7 forbidOnly: !!process.env.CI,8 fullyParallel: true,9 projects: [10 {11 name: 'chromium',12 use: { ...devices['Desktop Chrome'] }13 }14 ],15 reporter: 'line',16 retries: process.env.CI ? 2 : 0,17 testDir: 'tests/e2e',18 testMatch: ['**/*.e2e.ts'],19 timeout: 30000,20 use: {21 baseURL: 'http://localhost:8181',22 trace: 'on-first-retry'23 },24 webServer: {25 command: 'npm run build && npx http-server ./dist -p 8181',26 port: 8181,27 reuseExistingServer: !process.env.CI,28 timeout: 12000029 },30 workers: process.env.CI ? 1 : undefined31});32 