diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 5dda36b1f..5f9ab78bd 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -26,6 +26,8 @@ jobs: run: yarn install - name: Install Playwright browsers run: yarn playwright install --with-deps + - name: Set up testnet environment + run: cp apps/dapp/.env.testnet apps/dapp/.env.local - name: Build dApp run: yarn dapp build - name: Run Playwright tests diff --git a/apps/dapp/package.json b/apps/dapp/package.json index a88bb47c3..f24982fbf 100644 --- a/apps/dapp/package.json +++ b/apps/dapp/package.json @@ -15,7 +15,7 @@ "start": "next start", "test": "jest --passWithNoTests", "test:watch": "jest --watch", - "test:e2e": "cp .env.testnet .env && playwright test", + "test:e2e": "cp .env.testnet .env.local && playwright test", "ts": "tsc --noEmit --incremental", "ts:watch": "ts --watch" },