ACTIVEPIECES/packages/tests-e2e/project.json
rohit cd823a2d9e
Some checks failed
Crowdin Action / synchronize-with-crowdin (push) Has been cancelled
Release Pieces / Release-Pieces (push) Has been cancelled
automaton layer
2025-07-05 23:59:03 +05:30

31 lines
849 B
JSON

{
"name": "tests-e2e",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/tests-e2e",
"projectType": "application",
"targets": {
"test-local": {
"executor": "nx:run-commands",
"options": {
"commands": [
"export $(cat packages/tests-e2e/.env.e2e | xargs) && npm start",
"sleep 60 && curl -s -o /dev/null -w \"%{http_code}\" http://localhost:3000/v1/flags | grep -q \"2[0-9][0-9]\" && npx nx run tests-e2e:test-scenarios"
]
}
},
"test-scenarios": {
"executor": "nx:run-commands",
"options": {
"commands": [
"npx playwright test packages/tests-e2e/tests/*.spec.ts"
]
}
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"]
}
},
"tags": []
}