20 lines
560 B
TypeScript
20 lines
560 B
TypeScript
import { defineConfig, devices } from '@playwright/test';
|
|
|
|
/**
|
|
* The main e2e suite. Runs against the BUILT bundle (`pnpm test:e2e` builds it
|
|
* first), served by a server each spec starts on a free port, so there is no
|
|
* port table to keep and no dev server to mistake for the product (CLAUDE.md §3).
|
|
*/
|
|
export default defineConfig({
|
|
testDir: '.',
|
|
testMatch: /(shell|update|petal)\.spec\.ts/,
|
|
fullyParallel: false,
|
|
workers: 1,
|
|
retries: 0,
|
|
reporter: [['list']],
|
|
use: {
|
|
...devices['Desktop Chrome'],
|
|
trace: 'retain-on-failure'
|
|
}
|
|
});
|