diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 3e8b97a20a..47d4c01b22 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -246,7 +246,7 @@ jobs: uses: cypress-io/github-action@248bde77443c376edc45906ede03a1aba9da0462 # pin@v5.8.4 with: start: yarn start - command: yarn test:ci:e2e:github-action + command: yarn test:ci:e2e wait-on: 'http://localhost:3000' wait-on-timeout: 120 browser: chrome diff --git a/package.json b/package.json index 9da6408350..cfeaf6e156 100644 --- a/package.json +++ b/package.json @@ -12,9 +12,7 @@ "audit:ci": "audit-ci --config ./audit-ci.jsonc", "test:ci": "yarn workspace arb-token-bridge-ui test:ci", "test:e2e": "yarn workspace arb-token-bridge-ui e2e:run --browser chrome", - "test:ci:e2e": "start-server-and-test 'yarn build && yarn workspace arb-token-bridge-ui start' http-get://localhost:3000 'env-cmd -f ./packages/arb-token-bridge-ui/.e2e.env synpress run --project ./packages/arb-token-bridge-ui --configFile synpress.config.ts'", - "test:ci:e2e:install": "yarn workspace arb-token-bridge-ui e2e:install", - "test:ci:e2e:github-action": "yarn synpress run --project ./packages/arb-token-bridge-ui --configFile synpress.config.ts", + "test:ci:e2e": "env-cmd -f ./packages/arb-token-bridge-ui/.e2e.env synpress run --project ./packages/arb-token-bridge-ui --configFile synpress.config.ts", "test:e2e:cctp": "yarn workspace arb-token-bridge-ui e2e:run:cctp", "prettier:check": "./node_modules/.bin/prettier --check .", "prettier:format": "./node_modules/.bin/prettier --write .", diff --git a/packages/arb-token-bridge-ui/package.json b/packages/arb-token-bridge-ui/package.json index 89234d3fa1..a14ca3e6a1 100644 --- a/packages/arb-token-bridge-ui/package.json +++ b/packages/arb-token-bridge-ui/package.json @@ -66,8 +66,7 @@ "generateOrbitChainsToMonitor": "ts-node --project ./scripts/tsconfig.json ./scripts/generateOrbitChainsToMonitor.ts", "e2e:open": "env-cmd -f .e2e.env yarn synpress open --configFile synpress.config.ts", "e2e:run": "env-cmd -f .e2e.env yarn synpress run --configFile synpress.config.ts", - "e2e:run:cctp": "E2E_CCTP=true yarn e2e:run", - "e2e:install": "cypress install" + "e2e:run:cctp": "E2E_CCTP=true yarn e2e:run" }, "browserslist": { "production": [