From 21d3be14c97c2fb5ecc95fa509930c5e9f3ef6ac Mon Sep 17 00:00:00 2001 From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com> Date: Sun, 10 May 2026 21:13:57 +0530 Subject: [PATCH] chore: update E2E tests workflow name and adjust video recording settings --- .github/workflows/e2e-tests.yml | 6 +++--- surfsense_web/playwright.config.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 5db9b3519..361cce95e 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -16,7 +16,7 @@ concurrency: jobs: e2e: - name: Playwright E2E + name: Journey runs-on: ubuntu-latest if: github.event.pull_request.draft == false timeout-minutes: 45 @@ -71,7 +71,7 @@ jobs: DROPBOX_APP_SECRET: fake-dropbox-app-secret DROPBOX_REDIRECT_URI: http://localhost:8000/api/v1/auth/dropbox/connector/callback - # NO_PROXY must keep huggingface — embedding + Docling models lazy-download + # NO_PROXY must keep huggingface, embedding + Docling models lazy-download # there on cold cache. Embedding fakes patch callsites, not the loader. HTTPS_PROXY: http://127.0.0.1:1 HTTP_PROXY: http://127.0.0.1:1 @@ -240,7 +240,7 @@ jobs: path: surfsense_web/playwright-report/ retention-days: 14 - - name: Upload Playwright traces / videos + - name: Upload Playwright traces if: failure() uses: actions/upload-artifact@v7 with: diff --git a/surfsense_web/playwright.config.ts b/surfsense_web/playwright.config.ts index 511db6b09..189916f02 100644 --- a/surfsense_web/playwright.config.ts +++ b/surfsense_web/playwright.config.ts @@ -31,7 +31,7 @@ export default defineConfig({ baseURL, trace: "on-first-retry", screenshot: "only-on-failure", - video: "retain-on-failure", + video: process.env.CI ? "off" : "retain-on-failure", extraHTTPHeaders: { "x-playwright-test": "true", },