1
0
Fork 0
mirror of synced 2024-06-07 21:14:46 +12:00

Update cypress commands to work in local dev

This commit is contained in:
Rory Powell 2022-02-22 15:23:54 +00:00
parent c65d4e9888
commit 17d11b46ff
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"
},