- Rename all cts-work references to pp-planer (valet, sanctum, playwright, e2e, docs) - Fix docker-compose build context to use project root with build/Dockerfile - Add .dockerignore to exclude unnecessary files from Docker build - start_dev.sh: stale PID cleanup, dependency checks, APP_KEY check, process health verification - stop_dev.sh: fix set -e crash on arithmetic, report already-dead processes, idempotent exit
31 lines
690 B
TypeScript
31 lines
690 B
TypeScript
import { defineConfig, devices } from '@playwright/test';
|
|
|
|
export default defineConfig({
|
|
testDir: './tests/e2e',
|
|
fullyParallel: false,
|
|
workers: 1,
|
|
timeout: 90000,
|
|
expect: {
|
|
timeout: 5000,
|
|
},
|
|
use: {
|
|
baseURL: 'http://pp-planer.test',
|
|
trace: 'on-first-retry',
|
|
},
|
|
projects: [
|
|
{
|
|
name: 'setup',
|
|
testMatch: /auth\.setup\.ts/,
|
|
},
|
|
{
|
|
name: 'default',
|
|
dependencies: ['setup'],
|
|
use: {
|
|
...devices['Desktop Chrome'],
|
|
storageState: 'tests/e2e/.auth/user.json',
|
|
},
|
|
},
|
|
],
|
|
outputDir: 'test-results',
|
|
});
|