|
1
|
import { defineConfig, devices } from '@playwright/test'; |
|
2
|
|
|
3
|
export default defineConfig({ |
|
4
|
testDir: './tests', |
|
5
|
timeout: 15_000, |
|
6
|
retries: 0, |
|
7
|
reporter: [['list'], ['html', { open: 'never' }]], |
|
8
|
use: { |
|
9
|
baseURL: 'http://localhost:8080', |
|
10
|
trace: 'on-first-retry', |
|
11
|
}, |
|
12
|
projects: [ |
|
13
|
{ |
|
14
|
name: 'chromium', |
|
15
|
use: { ...devices['Desktop Chrome'] }, |
|
16
|
}, |
|
17
|
], |
|
18
|
// No webServer block — tests assume scuttlebot is already running. |
|
19
|
}); |
|
20
|
|