From c93c35edfde775d4dd0cd57d726275413387fde6 Mon Sep 17 00:00:00 2001 From: Matti Nannt Date: Sat, 4 Oct 2025 08:26:17 +0200 Subject: [PATCH] ci(e2e): disable rate limiting and set CI environment variable - Disable rate limiting for E2E tests to prevent test failures caused by rate limits - Set CI environment variable for Playwright to optimize test execution in CI environment - Apply to both Azure and local E2E test runs --- .github/workflows/e2e.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index addd11f5aa..f97f69171f 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -181,6 +181,12 @@ jobs: fi echo "License key length: ${#LICENSE_KEY}" + - name: Disable rate limiting for E2E tests + run: | + echo "RATE_LIMITING_DISABLED=1" >> .env + echo "Rate limiting disabled for E2E tests" + shell: bash + - name: Run App run: | echo "Starting app with enterprise license..." @@ -222,11 +228,14 @@ jobs: if: env.AZURE_ENABLED == 'true' env: PLAYWRIGHT_SERVICE_URL: ${{ secrets.PLAYWRIGHT_SERVICE_URL }} + CI: true run: | pnpm test-e2e:azure - name: Run E2E Tests (Local) if: env.AZURE_ENABLED == 'false' + env: + CI: true run: | pnpm test:e2e @@ -245,4 +254,4 @@ jobs: - name: Output App Logs if: failure() - run: cat app.log + run: cat app.log \ No newline at end of file