Skip to content

Commit

Permalink
fix(cypress): fix in cypress job
Browse files Browse the repository at this point in the history
  • Loading branch information
cgirani committed Oct 4, 2023
1 parent 977704b commit 7717cb9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@
"test:engines": "check-node-version --node $(cat ../../.nvmrc) --yarn 1.x",
"test:ci": "yarn test --ci --logHeapUsage --coverage",
"test:e2e:update": "cypress-image-diff -u",
"test:e2e": "cross-env BABEL_ENV='e2e' NODE_ENV='e2e' cypress run-ct --browser=chrome --headed --config video=false,screenshotOnRunFailure=false",
"test:e2e:interactive": "cross-env BABEL_ENV='e2e' NODE_ENV='e2e' cypress open-ct --browser=chrome --config video=false,screenshotOnRunFailure=false",
"test:e2e:ci": "cross-env HEIGHT=1680 WIDTH=1680 BABEL_ENV='e2e' NODE_ENV='e2e' cypress run-ct --browser=chrome --config watchForFileChanges=false --record false video=false,screenshotOnRunFailure=false",
"test:e2e": "cross-env BABEL_ENV='e2e' NODE_ENV='e2e' NODE_OPTIONS=--openssl-legacy-provider cypress run-ct --browser=chrome --headed --config video=false,screenshotOnRunFailure=false",
"test:e2e:interactive": "cross-env BABEL_ENV='e2e' NODE_ENV='e2e' NODE_OPTIONS=--openssl-legacy-provider cypress open-ct --browser=chrome --config video=false,screenshotOnRunFailure=false",
"test:e2e:ci": "cross-env HEIGHT=1680 WIDTH=1680 BABEL_ENV='e2e' NODE_ENV='e2e' NODE_OPTIONS=--openssl-legacy-provider cypress run-ct --browser=chrome --config watchForFileChanges=false --record false video=false,screenshotOnRunFailure=false",
"test:e2e:images": "cd ../.. && docker-compose run --no-deps --rm react-visual-regression-tests bash -c 'cd /@ai-apps/packages/react && pwd && yarn cypress install && yarn test:e2e:ci --record=false --config video=false,screenshotOnRunFailure=false'",
"test:e2e:docker:build": "cd ../.. && docker-compose up --build",
"test:e2e:docker:clean": "docker system prune",
"test:sandbox": "cypress run --spec cypress/integration/codesandbox.spec.js --config supportFile=cypress/support/codesandbox.js,testFiles=*.spec.js,chromeWebSecurity=false",
"test:sandbox": "cross-env NODE_OPTIONS=--openssl-legacy-provider cypress run --spec cypress/integration/codesandbox.spec.js --config supportFile=cypress/support/codesandbox.js,testFiles=*.spec.js,chromeWebSecurity=false",
"reports:clean": "rimraf .nyc_output reports",
"reports:copy": "mkdir reports || true && cp cypress/coverage/coverage-final.json reports/from-cypress.json && cp jest/coverage/coverage-final.json reports/from-jest.json",
"reports:combine": "mkdir .nyc_output || true && npx nyc merge reports && mv coverage.json .nyc_output/out.json && npx nyc report --check-coverage --per-file --report-dir coverage",
Expand Down

0 comments on commit 7717cb9

Please sign in to comment.