diff --git a/frontend/package.json b/frontend/package.json index 674c94d75b..1d1d78ed63 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -36,7 +36,7 @@ "test:jest:coverage": "rimraf jest-coverage && jest --silent --coverage --coverageReporters=json --coverageReporters=lcov", "test:unit": "npm run test:jest -- --silent", "test:unit-coverage": "run-s test:lint test:type-check test:jest:coverage", - "test:cypress-ci": "npx concurrently -P -k -s first \"npm run cypress:server:build && npm run cypress:server\" \"npx wait-on tcp:127.0.0.1:9001 && CY_MOCK=1 CY_WS_PORT=9002 npm run cypress:run -- --headless --spec $(echo '${{ steps.test-files.outputs.files }}' | tr ',' '\\n' | awk 'NR % 5 == ${matrix.container} - 1' | tr '\\n' ',')\"", + "test:cypress-ci": "npx concurrently -P -k -s first \"npm run cypress:server:build && npm run cypress:server\" \"npx wait-on tcp:127.0.0.1:9001 && CY_MOCK=1 CY_WS_PORT=9002 npm run cypress:run -- --headless --spec $(echo '$SPEC_FILES' | tr ',' '\\n' | awk 'NR % 5 == process.env.CONTAINER_INDEX - 1' | tr '\\n' ',')\"", "test:cypress-ci:coverage": "npx concurrently -P -k -s first \"npm run cypress:server:build:coverage && npm run cypress:server\" \"npx wait-on tcp:127.0.0.1:9001 && npm run cypress:run:mock:coverage\"", "coverage:merge": "rimraf coverage && istanbul-merge --out coverage/coverage-final.json jest-coverage/coverage-final.json src/__tests__/cypress/coverage/coverage-final.json && nyc report --reporter html -t coverage --report-dir coverage/report && nyc report --reporter json-summary -t coverage --report-dir coverage", "cypress:open": "cypress open --project src/__tests__/cypress",