chore: update E2E tests workflow name and adjust video recording settings

This commit is contained in:
Anish Sarkar 2026-05-10 21:13:57 +05:30
parent 3520877d80
commit 21d3be14c9
2 changed files with 4 additions and 4 deletions

View file

@ -16,7 +16,7 @@ concurrency:
jobs: jobs:
e2e: e2e:
name: Playwright E2E name: Journey
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.event.pull_request.draft == false if: github.event.pull_request.draft == false
timeout-minutes: 45 timeout-minutes: 45
@ -71,7 +71,7 @@ jobs:
DROPBOX_APP_SECRET: fake-dropbox-app-secret DROPBOX_APP_SECRET: fake-dropbox-app-secret
DROPBOX_REDIRECT_URI: http://localhost:8000/api/v1/auth/dropbox/connector/callback 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. # there on cold cache. Embedding fakes patch callsites, not the loader.
HTTPS_PROXY: http://127.0.0.1:1 HTTPS_PROXY: http://127.0.0.1:1
HTTP_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/ path: surfsense_web/playwright-report/
retention-days: 14 retention-days: 14
- name: Upload Playwright traces / videos - name: Upload Playwright traces
if: failure() if: failure()
uses: actions/upload-artifact@v7 uses: actions/upload-artifact@v7
with: with:

View file

@ -31,7 +31,7 @@ export default defineConfig({
baseURL, baseURL,
trace: "on-first-retry", trace: "on-first-retry",
screenshot: "only-on-failure", screenshot: "only-on-failure",
video: "retain-on-failure", video: process.env.CI ? "off" : "retain-on-failure",
extraHTTPHeaders: { extraHTTPHeaders: {
"x-playwright-test": "true", "x-playwright-test": "true",
}, },