From 644901f6ea39b38548ec8d32bc190c6f9533e71c Mon Sep 17 00:00:00 2001 From: Dhenain Ambroise Date: Sun, 6 Sep 2020 10:37:23 +0200 Subject: [PATCH] Add e2e:run:spec:common command to show an example on how to run a group of E2E specs using glob pattern --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 39551fb51..bedfee328 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "e2e:install": "cypress install", "e2e:open": "CYPRESS_STAGE=${CYPRESS_STAGE:-development}; cypress open --config-file cypress/config-$CYPRESS_STAGE.json", "e2e:run": "CYPRESS_STAGE=${CYPRESS_STAGE:-development}; cypress run --config-file cypress/config-$CYPRESS_STAGE.json", + "e2e:run:spec:common": "CYPRESS_STAGE=${CYPRESS_STAGE:-development}; cypress run --config-file cypress/config-$CYPRESS_STAGE.json --spec 'cypress/integration/app/common/*.js'", "e2e:ci": "yarn e2e:install && cypress run --record", "preversion": "yarn lint:once && yarn test:once", "release": "yarn bump --commit --tag && git add CHANGELOG.md README.md && git commit --amend --no-edit && git push && git push --tags",