diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index d4c315e440..40a3bddad5 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -23,6 +23,8 @@ jobs: - name: Run Playwright tests env: DEPLOYMENT_URL: ${{ github.event.deployment_status.target_url }} + ANVIL_FORK_URL: ${{ secrets.ANVIL_FORK_URL }} + NEXT_PUBLIC_E2E_WALLET_MNEMONIC: ${{ secrets.E2E_WALLET_MNEMONIC }} run: npm run test - uses: actions/upload-artifact@v4 if: ${{ failure() }} diff --git a/playwright.config.ts b/playwright.config.ts index 02e370d478..6cc1bee9a0 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -41,7 +41,7 @@ export default defineConfig({ webServer: [ { - command: `anvil --fork-url=${process.env.NEXT_PUBLIC_ANVIL_FORK_URL} --fork-block-number=${process.env.NEXT_PUBLIC_ANVIL_FORK_BLOCK_NUMBER} -m='${process.env.NEXT_PUBLIC_E2E_WALLET_MNEMONIC}'`, + command: `anvil --fork-url=${process.env.ANVIL_FORK_URL} --fork-block-number=6373425 -m='${process.env.NEXT_PUBLIC_E2E_WALLET_MNEMONIC}'`, port: 8545, }, {