Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't run cypress in parallel #115

Merged
merged 2 commits into from
Jun 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading
Loading