Skip to content

Commit

Permalink
feat: pass faucet url to e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurgeron committed Oct 31, 2024
1 parent dfa9a3b commit a5c4d10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/actions/e2e-tests-contracts/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ runs:
shell: bash
run: xvfb-run --auto-servernum -- pnpm test:e2e:contracts
env:
NODE_OPTIONS: "--max-old-space-size=4096"
PORT: 5173
NODE_ENV: test
VITE_FUEL_FAUCET_URL: ${{ inputs.faucetUrl }}
VITE_FUEL_PROVIDER_URL: ${{ inputs.providerUrl }}
VITE_MASTER_WALLET_MNEMONIC: ${{ inputs.masterMnemonic }}
VITE_WALLET_SECRET: ${{ inputs.genesisSecret }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/tests-testnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,6 @@ jobs:
- name: Run E2E Contract Tests - Testnet
uses: ./.github/actions/e2e-tests-contracts
with:
faucetUrl: "https://faucet-testnet.fuel.network/"
providerUrl: "https://testnet.fuel.network/v1/graphql"
masterMnemonic: ${{ inputs.masterMnemonic || secrets.VITE_MASTER_WALLET_MNEMONIC }}

0 comments on commit a5c4d10

Please sign in to comment.