Skip to content

Commit 6ab7e9c

Browse files
authored
Merge pull request #115 from local-first-web/cypress-no-parallel
don't run cypress in parallel
2 parents 9719ba6 + 202f84d commit 6ab7e9c

File tree

4 files changed

+8
-346
lines changed

4 files changed

+8
-346
lines changed

demos/taco-chat/multi-reporter-config.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

demos/taco-chat/package.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,12 @@
1414
"dev:relay": "cross-env NODE_NO_WARNINGS=1 DEBUG='localfirst*' DEBUG_COLORS=1 node ./scripts/start-relay-server.js",
1515
"dev:serve": "vite --force --port 3000",
1616
"dev": "run-p dev:relay dev:serve",
17-
"dev:cy": "cross-env CYPRESS_REMOTE_DEBUGGING_PORT=9222 run-p dev test:cy",
17+
"dev:cy": "cross-env CYPRESS_REMOTE_DEBUGGING_PORT=9222 run-p dev test:cy:ui",
1818
"preinstall": "npx only-allow pnpm",
1919
"preview": "run-s build && vite preview",
20-
"test:cy:parallel": "run-p --race dev test:cy:parallel:exec && git restore cypress && git clean cypress -f",
21-
"test:cy:parallel:exec": "cypress-parallel -s test:cy:run:exec -t 5 -d 'cypress/e2e' -n ../../node_modules/cypress-multi-reporters",
22-
"test:cy": "cypress open --browser chrome --e2e",
23-
"test:cy:run": "run-p --race dev test:cy:run:exec",
24-
"test:cy:run:exec": "cypress run --browser chrome --e2e"
20+
"test:cy:ui": "cypress open --browser chrome --e2e",
21+
"test:cy": "run-p --race dev test:cy:exec",
22+
"test:cy:exec": "cypress run --browser chrome --e2e"
2523
},
2624
"dependencies": {
2725
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
"test:all": "run-s build lint test:run test:cy test:pw",
2828
"test:run": "vitest run",
2929
"test:log": "cross-env DEBUG=localfirst*,automerge* DEBUG_COLORS=1 pnpm test run",
30-
"test:cy": "pnpm -F @localfirst/taco-chat test:cy:parallel",
30+
"test:cy:ui": "pnpm -F @localfirst/taco-chat test:cy:ui",
31+
"test:cy": "pnpm -F @localfirst/taco-chat test:cy",
3132
"test:pw": "pnpm -F @localfirst/automerge-repo-todos test:pw",
3233
"test:pw:log": "pnpm -F @localfirst/automerge-repo-todos test:pw:log",
3334
"test:pw:ui": "pnpm -F @localfirst/automerge-repo-todos test:pw:ui",
@@ -46,8 +47,6 @@
4647
"@types/ws": "^8.5.10",
4748
"chalk": "^5.3.0",
4849
"cross-env": "^7.0.3",
49-
"cypress-multi-reporters": "^1.6.4",
50-
"cypress-parallel": "^0.14.0",
5150
"eslint": "^8.54.0",
5251
"eslint-config-xo": "^0.43.1",
5352
"eslint-config-xo-react": "^0.27.0",

0 commit comments

Comments
 (0)