mirror of
https://github.com/karatektus/pl_mail.git
synced 2026-10-25 10:04:18 +00:00
29 lines
1.3 KiB
JSON
29 lines
1.3 KiB
JSON
{
|
|
"name": "plmail-e2e",
|
|
"private": true,
|
|
"description": "End-to-end tests for plMail (Playwright). Separate from the app's AssetMapper/importmap frontend.",
|
|
"scripts": {
|
|
"test:env:up": "docker compose -f compose.test.yaml up -d --build --wait app",
|
|
"test:env:down": "docker compose -f compose.test.yaml down",
|
|
"test:env:reset": "docker compose -f compose.test.yaml down -v",
|
|
"test:env:logs": "docker compose -f compose.test.yaml logs -f app",
|
|
"test:unit:docker": "docker compose -f compose.test.yaml run --rm --no-deps --entrypoint docker-php-entrypoint app php vendor/bin/phpunit",
|
|
"test:e2e:docker": "npm run test:env:up && E2E_DOCKER=1 playwright test",
|
|
"test:e2e:docker:ui": "npm run test:env:up && E2E_DOCKER=1 playwright test --ui",
|
|
"test:e2e": "playwright test",
|
|
"test:e2e:screenshots": "E2E_SCREENSHOTS=1 playwright test screenshots.spec.ts",
|
|
"test:e2e:ui": "playwright test --ui",
|
|
"test:e2e:headed": "playwright test --headed",
|
|
"test:e2e:report": "playwright show-report",
|
|
"typecheck": "tsc --noEmit -p tsconfig.json"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.55.0",
|
|
"@types/node": "^22.10.0",
|
|
"typescript": "^5.6.0"
|
|
}
|
|
}
|