diff --git a/.circleci/config.yml b/.circleci/config.yml index 7f28f24..ec61f54 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -79,13 +79,15 @@ jobs: - run: command: npx http-server packages/ncform -p 3000 background: true - - run: ls - run: shell: /bin/sh command: | wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 -t 10 http://127.0.0.1:3000/examples/components/vue-ncform/_value-default.html : - - run: cd packages/ncform-e2e && npm run test-ncform:cli + - run: cd packages/ncform-e2e && ls + - run: npx cypress --help + - run: npm run test + - run: npm run test-ncform:cli workflows: version: 2 diff --git a/packages/ncform-e2e/package.json b/packages/ncform-e2e/package.json index 5d29240..2ed5f5b 100644 --- a/packages/ncform-e2e/package.json +++ b/packages/ncform-e2e/package.json @@ -5,6 +5,7 @@ "description": "ncform e2e test", "main": "index.js", "scripts": { + "test": "cypress --version", "test-ncform:cli": "cross-var \"cypress run --project ./ncform --record --key $NCFORM_E2E_KEY\"", "test-ncform:ui": "cd ncform && cypress open" },