Update cypress commands to work in local dev

This commit is contained in:
Rory Powell 2022-02-22 15:23:54 +00:00
parent e097554972
commit 7fe3844d08
2 changed files with 5 additions and 5 deletions

View File

@ -42,8 +42,8 @@
"lint:fix:prettier": "prettier --write \"packages/**/*.{js,ts,svelte}\"",
"lint:fix:ts": "lerna run lint:fix",
"lint:fix": "yarn run lint:fix:ts && yarn run lint:fix:prettier && yarn run lint:fix:eslint",
"test:e2e": "lerna run cy:test",
"test:e2e:ci": "lerna run cy:ci",
"test:e2e": "lerna run cy:test --stream",
"test:e2e:ci": "lerna run cy:ci --stream",
"build:docker": "lerna run build:docker && npm run build:docker:proxy:compose && cd hosting/scripts/linux/ && ./release-to-docker-hub.sh $BUDIBASE_RELEASE_VERSION && cd -",
"build:docker:proxy": "docker build hosting/proxy -t proxy-service",
"build:docker:proxy:compose": "lerna run generate:proxy:compose && npm run build:docker:proxy",

View File

@ -11,11 +11,11 @@
"rollup": "rollup -c -w",
"cy:setup": "ts-node ./cypress/ts/setup.ts",
"cy:setup:ci": "node ./cypress/setup.js",
"cy:run": "xvfb-run cypress run --headed --browser chrome",
"cy:open": "cypress open",
"cy:run:ci": "cypress run --record",
"cy:run": "cypress run",
"cy:run:ci": "xvfb-run cypress run --headed --browser chrome --record",
"cy:test": "start-server-and-test cy:setup http://localhost:41000/builder cy:run",
"cy:ci": "start-server-and-test cy:setup:ci http://localhost:41000/builder cy:run",
"cy:ci": "start-server-and-test cy:setup:ci http://localhost:41000/builder cy:run:ci",
"cy:debug": "start-server-and-test cy:setup http://localhost:41000/builder cy:open",
"cy:debug:ci": "start-server-and-test cy:setup:ci http://localhost:41000/builder cy:open"
},