Skip to content

Commit

Permalink
fix: e2e tests port usage (#767)
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsANameToo authored and shahin-hq committed Oct 28, 2024
1 parent 14ea378 commit 97e5519
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
path: ${{ github.workspace }}/screenshots/**/*

e2e-transaction:
needs: build-and-upload
needs: e2e-vote

runs-on: ubuntu-latest

Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:
path: ${{ github.workspace }}/screenshots/**/*

e2e-contact:
needs: build-and-upload
needs: e2e-transaction

runs-on: ubuntu-latest

Expand Down Expand Up @@ -254,7 +254,7 @@ jobs:
path: ${{ github.workspace }}/screenshots/**/*

e2e-dashboard:
needs: build-and-upload
needs: e2e-contact

runs-on: ubuntu-latest

Expand Down Expand Up @@ -320,7 +320,7 @@ jobs:
path: ${{ github.workspace }}/screenshots/**/*

e2e-profile:
needs: build-and-upload
needs: e2e-dashboard

runs-on: ubuntu-latest

Expand Down Expand Up @@ -386,7 +386,7 @@ jobs:
path: ${{ github.workspace }}/screenshots/**/*

e2e-message:
needs: build-and-upload
needs: e2e-profile

runs-on: ubuntu-latest

Expand Down Expand Up @@ -452,7 +452,7 @@ jobs:
path: ${{ github.workspace }}/screenshots/**/*

e2e-wallet:
needs: build-and-upload
needs: e2e-message

runs-on: ubuntu-latest

Expand Down Expand Up @@ -518,7 +518,7 @@ jobs:
path: ${{ github.workspace }}/screenshots/**/*

e2e-settings:
needs: build-and-upload
needs: e2e-wallet

runs-on: ubuntu-latest

Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@
"lint": "eslint '*/**/*.{js,ts,tsx}' --quiet --fix",
"prettier": "prettier --write \"./*.{ts,tsx,js,json,md}\" \"./**/*.{ts,tsx,js,json,md}\"",
"qa": "pnpm install && pnpm build && pnpm serve",
"serve": "vite preview --port 5000 --host=0.0.0.0",
"serve:https": "vite preview --port 5000 --https",
"serve": "vite preview --port 5001 --host=0.0.0.0",
"serve:https": "vite preview --port 5001 --https",
"test": "LC_ALL=en_US.UTF-8 vitest --update",
"test:coverage": "LC_ALL=en_US.UTF-8 vitest run --coverage",
"test:e2e": "E2E_HOST='http://localhost:5000' gherkin-testcafe chrome --config-file=.testcaferc.json",
"test:e2e:ci": "E2E_HOST='http://localhost:5000' gherkin-testcafe --config-file=.testcaferc.json chrome:headless -q attemptLimit=3,successThreshold=1",
"test:e2e:ci:firefox": "E2E_HOST='http://localhost:5000' gherkin-testcafe --config-file=.testcaferc.json firefox:headless -q attemptLimit=3,successThreshold=1",
"test:e2e:ci:edge": "E2E_HOST='http://localhost:5000' gherkin-testcafe --config-file=.testcaferc.json edge:headless -q attemptLimit=3,successThreshold=1",
"test:e2e": "E2E_HOST='http://localhost:5001' gherkin-testcafe chrome --config-file=.testcaferc.json",
"test:e2e:ci": "E2E_HOST='http://localhost:5001' gherkin-testcafe --config-file=.testcaferc.json chrome:headless -q attemptLimit=3,successThreshold=1",
"test:e2e:ci:firefox": "E2E_HOST='http://localhost:5001' gherkin-testcafe --config-file=.testcaferc.json firefox:headless -q attemptLimit=3,successThreshold=1",
"test:e2e:ci:edge": "E2E_HOST='http://localhost:5001' gherkin-testcafe --config-file=.testcaferc.json edge:headless -q attemptLimit=3,successThreshold=1",
"sdk:install-local": "node scripts/install-local-sdk.js",
"sdk:check-updates": "npx npm-check-updates \"/^@ardenthq.*$/\" -u"
},
Expand Down

0 comments on commit 97e5519

Please sign in to comment.