From b78c024e830ad9588ba880fe866c229d92d9cb52 Mon Sep 17 00:00:00 2001 From: Anthony Coughlin Date: Wed, 18 Dec 2024 10:10:44 +0000 Subject: [PATCH] Spec file debugger 10 --- .github/workflows/test.yml | 2 +- frontend/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e0b97584eb..cc51374401 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -62,5 +62,5 @@ jobs: exit 0 else echo "Spec files for this container- $SPEC_FILES" - cd ./frontend && SPEC_FILES="$SPEC_FILES" npm run test:cypress-ci + cd ./frontend && SPEC_FILES="../$SPEC_FILES" npm run test:cypress-ci fi diff --git a/frontend/package.json b/frontend/package.json index 72fed12ed7..b9e5f50370 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 \\\"$SPEC_FILES\\\"\"", + "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 --project src/__tests__/cypress --spec \\\"$SPEC_FILES\\\"\"", "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",