mirror of
https://github.com/velocitatem/PHANTOM.git
synced 2026-05-31 08:33:36 +00:00
updating computation power graph
This commit is contained in:
@@ -13,12 +13,23 @@
|
||||
},
|
||||
"test": {
|
||||
"executor": "nx:run-commands",
|
||||
"dependsOn": [
|
||||
"install"
|
||||
],
|
||||
"outputs": [
|
||||
"{projectRoot}/test-results"
|
||||
],
|
||||
"options": {
|
||||
"command": "make test.e2e",
|
||||
"cwd": "."
|
||||
"commands": [
|
||||
"npx playwright install chromium",
|
||||
"test -f .env || cp .env.example .env",
|
||||
"timeout 30 bash -c \"until curl -sf http://localhost:5000/health > /dev/null 2>&1; do sleep 1; done\" || (echo 'Backend not ready' && exit 1)",
|
||||
"timeout 30 bash -c \"until curl -sf http://localhost:3000 > /dev/null 2>&1; do sleep 1; done\" || (echo 'Web app not ready' && exit 1)",
|
||||
"timeout 30 bash -c \"until curl -sf http://localhost:8085/health > /dev/null 2>&1; do sleep 1; done\" || (echo 'Airflow not ready' && exit 1)",
|
||||
"npm test"
|
||||
],
|
||||
"parallel": false,
|
||||
"cwd": "tests/e2e"
|
||||
}
|
||||
},
|
||||
"test-ui": {
|
||||
|
||||
Reference in New Issue
Block a user