-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplaywright.caddy-debug.config.js
More file actions
33 lines (31 loc) · 870 Bytes
/
Copy pathplaywright.caddy-debug.config.js
File metadata and controls
33 lines (31 loc) · 870 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// @ts-check
import { defineConfig, devices } from '@playwright/test';
/**
* Standalone config for Caddy Import Debug tests
* Runs without security-tests dependency for faster iteration
*/
export default defineConfig({
testDir: './tests',
testMatch: '**/caddy-import-{debug,gaps}.spec.ts',
fullyParallel: false,
forbidOnly: !!process.env.CI,
retries: 0,
workers: 1,
reporter: [
['list'],
['html', { outputFolder: 'playwright-report/caddy-debug', open: 'never' }],
],
use: {
baseURL: process.env.PLAYWRIGHT_BASE_URL ||'http://localhost:8080',
trace: 'retain-on-failure',
screenshot: 'only-on-failure',
video: 'retain-on-failure',
storageState: 'playwright/.auth/user.json', // Use existing auth state
},
projects: [
{
name: 'caddy-import-debug',
use: { ...devices['Desktop Chrome'] },
},
],
});