Skip to content

Commit

Permalink
don't run cypress in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
HerbCaudill committed Jun 3, 2024
1 parent 9719ba6 commit 44d4f4a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
3 changes: 0 additions & 3 deletions demos/taco-chat/multi-reporter-config.json

This file was deleted.

10 changes: 4 additions & 6 deletions demos/taco-chat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,12 @@
"dev:relay": "cross-env NODE_NO_WARNINGS=1 DEBUG='localfirst*' DEBUG_COLORS=1 node ./scripts/start-relay-server.js",
"dev:serve": "vite --force --port 3000",
"dev": "run-p dev:relay dev:serve",
"dev:cy": "cross-env CYPRESS_REMOTE_DEBUGGING_PORT=9222 run-p dev test:cy",
"dev:cy": "cross-env CYPRESS_REMOTE_DEBUGGING_PORT=9222 run-p dev test:cy:ui",
"preinstall": "npx only-allow pnpm",
"preview": "run-s build && vite preview",
"test:cy:parallel": "run-p --race dev test:cy:parallel:exec && git restore cypress && git clean cypress -f",
"test:cy:parallel:exec": "cypress-parallel -s test:cy:run:exec -t 5 -d 'cypress/e2e' -n ../../node_modules/cypress-multi-reporters",
"test:cy": "cypress open --browser chrome --e2e",
"test:cy:run": "run-p --race dev test:cy:run:exec",
"test:cy:run:exec": "cypress run --browser chrome --e2e"
"test:cy:ui": "cypress open --browser chrome --e2e",
"test:cy": "run-p --race dev test:cy:exec",
"test:cy:exec": "cypress run --browser chrome --e2e"
},
"dependencies": {
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"test:all": "run-s build lint test:run test:cy test:pw",
"test:run": "vitest run",
"test:log": "cross-env DEBUG=localfirst*,automerge* DEBUG_COLORS=1 pnpm test run",
"test:cy": "pnpm -F @localfirst/taco-chat test:cy:parallel",
"test:cy:ui": "pnpm -F @localfirst/taco-chat test:cy:ui",
"test:cy": "pnpm -F @localfirst/taco-chat test:cy",
"test:pw": "pnpm -F @localfirst/automerge-repo-todos test:pw",
"test:pw:log": "pnpm -F @localfirst/automerge-repo-todos test:pw:log",
"test:pw:ui": "pnpm -F @localfirst/automerge-repo-todos test:pw:ui",
Expand All @@ -46,8 +47,6 @@
"@types/ws": "^8.5.10",
"chalk": "^5.3.0",
"cross-env": "^7.0.3",
"cypress-multi-reporters": "^1.6.4",
"cypress-parallel": "^0.14.0",
"eslint": "^8.54.0",
"eslint-config-xo": "^0.43.1",
"eslint-config-xo-react": "^0.27.0",
Expand Down

0 comments on commit 44d4f4a

Please sign in to comment.