feat(e2e): add freight e2e docker-compose stack with isolated services

This commit is contained in:
Nathnael
2026-07-21 11:00:02 +00:00
parent 2a35ee97fa
commit b8b8c4adf7
19 changed files with 1701 additions and 54 deletions

22
e2e/freight/package.json Normal file
View File

@@ -0,0 +1,22 @@
{
"name": "@edr/freight-e2e",
"version": "0.0.0",
"private": true,
"description": "Cypress end-to-end tests for the EDR freight system (portal + backoffice + API)",
"scripts": {
"cy:open": "cypress open --e2e",
"cy:run": "cypress run",
"cy:run:backoffice": "cypress run --spec 'cypress/e2e/backoffice/**'",
"cy:run:portal": "cypress run --spec 'cypress/e2e/portal/**'",
"cy:run:api": "cypress run --spec 'cypress/e2e/api/**'",
"cy:run:flows": "cypress run --spec 'cypress/e2e/flows/**'",
"type-check": "tsc --noEmit"
},
"devDependencies": {
"cypress": "^15.3.0",
"pg": "^8.13.0",
"typescript": "^5.5.4",
"@types/node": "^22.0.0",
"@types/pg": "^8.11.0"
}
}