0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Added yarn test:browser:single to run single browser tests

- this should enable you to run a single test file without waiting for
  all others
This commit is contained in:
Daniel Lockyer 2022-12-07 10:47:01 +07:00
parent 16f3ba573b
commit 63af7633d8
No known key found for this signature in database

View file

@ -33,6 +33,7 @@
"test:e2e": "mocha --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js './test/e2e-api' './test/e2e-frontend' './test/e2e-server' './test/e2e-webhooks' --timeout=15000",
"test:regression": "mocha --require=./test/utils/overrides.js --exit --trace-warnings --recursive --extension=test.js './test/regression' --timeout=60000",
"test:browser": "NODE_ENV=testing-browser playwright test test/e2e-browser",
"test:browser:single": "NODE_ENV=testing-browser playwright test",
"test:browser:setup": "npx playwright install",
"test:browser:record": "NODE_ENV=testing-browser yarn start record-test",
"test:ci": "c8 -c ./.c8rc.e2e.json yarn test:ci:base",