Files
Oxicloud/tests/e2e/package.json
T

29 lines
1.0 KiB
JSON
Raw Normal View History

{
"name": "e2e",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
2026-05-11 00:50:39 +02:00
"pretest": "bash ../common/spawn-db.sh",
"test": "FORCE_COLOR=true npx playwright test scenarios/01-home-and-login.spec.ts scenarios/02-folder-management.spec.ts",
"posttest": "bash ../common/stop-db.sh",
"test:containers": "OXICLOUD_E2E_CONTAINERS=1 FORCE_COLOR=true npx playwright test -c playwright.containers.config.ts",
"build:spa": "cd ../../frontend && COVERAGE=1 VITE_E2E=1 npm run build",
"test:coverage": "FORCE_COLOR=true npx playwright test -c playwright.coverage.config.ts",
"coverage:report": "node coverage-report.cjs e2e",
"coverage:report:unit": "node coverage-report.cjs unit",
"coverage:report:combined": "node coverage-report.cjs combined"
},
"keywords": [],
"author": "",
"license": "ISC",
"type": "commonjs",
"devDependencies": {
"@playwright/test": "^1.60.0",
"@testcontainers/postgresql": "^11.0.0",
"@types/node": "^25.6.0",
"nyc": "^18.0.0",
"testcontainers": "^11.0.0"
}
}