feat(e2e): add Docker-based E2E test infrastructure

This commit is contained in:
2025-11-22 15:40:23 +01:00
parent 2b0e7b5976
commit bb8b152b8a
6 changed files with 969 additions and 0 deletions

View File

@@ -17,6 +17,7 @@
"test:unit": "vitest run tests/unit",
"test:integration": "vitest run tests/integration",
"test:e2e": "vitest run --config vitest.e2e.config.ts",
"test:e2e:docker": "vitest run --config vitest.e2e.config.ts tests/e2e/docker/",
"test:watch": "vitest watch",
"typecheck": "tsc --noEmit",
"companion": "npm run companion:build --workspace=@gridpilot/companion && npm run start --workspace=@gridpilot/companion",
@@ -24,6 +25,8 @@
"companion:build": "npm run build --workspace=@gridpilot/companion",
"companion:start": "npm run start --workspace=@gridpilot/companion",
"chrome:debug": "open -a 'Google Chrome' --args --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug",
"docker:e2e:up": "docker-compose -f docker/docker-compose.e2e.yml up -d",
"docker:e2e:down": "docker-compose -f docker/docker-compose.e2e.yml down",
"prepare": "husky"
},
"devDependencies": {