diff --git a/.github/workflows/preview.yaml b/.github/workflows/preview.yaml index d2f5db321..7d8ad429d 100644 --- a/.github/workflows/preview.yaml +++ b/.github/workflows/preview.yaml @@ -60,7 +60,7 @@ jobs: - run: bun playwright install chromium --with-deps - run: bun playwright test --project=chromium --shard ${{ matrix.shard }} - if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: blob-reports path: blob-report @@ -68,7 +68,7 @@ jobs: e2e-report: needs: [e2e] - if: ${{ !github.event.pull_request.draft }} + if: ${{ always() }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -77,12 +77,12 @@ jobs: node-version: 20 - uses: oven-sh/setup-bun@v1 - run: bun install - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: blob-reports path: blob-reports - run: bun playwright merge-reports --reporter html ./blob-reports - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: html-report path: playwright-report @@ -93,7 +93,7 @@ jobs: if: ${{ always() && needs.e2e-report.result == 'success' && github.ref == 'refs/heads/main' }} runs-on: ubuntu-latest steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: html-report path: html-report diff --git a/e2e/components/leverage.ts b/e2e/components/leverage.ts index 2b93e8df6..888c6efe9 100644 --- a/e2e/components/leverage.ts +++ b/e2e/components/leverage.ts @@ -197,7 +197,7 @@ export default function (page: Page) { const waitForTransaction = async () => { const status = page.getByTestId('transaction-status'); - await expect(status).toBeVisible({ timeout: 30_000 }); + await expect(status).toBeVisible({ timeout: 66_666 }); await page.waitForFunction( (message) => {