Skip to content

fix(ui): extract theme-flash inline script to /theme-flash.js for strict CSP #37

fix(ui): extract theme-flash inline script to /theme-flash.js for strict CSP

fix(ui): extract theme-flash inline script to /theme-flash.js for strict CSP #37

Triggered via pull request May 4, 2026 07:35
Status Failure
Total duration 1m 45s
Artifacts 2

playwright.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 notice
e2e (chromium)
Process completed with exit code 1.
[chromium] › e2e/upload.spec.ts:66:3 › upload happy-path › user can open the upload modal: ui/e2e/upload.spec.ts#L88
1) [chromium] › e2e/upload.spec.ts:66:3 › upload happy-path › user can open the upload modal, pick a file, and see the modal close on success Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toBeHidden() failed Locator: getByRole('heading', { name: /upload documents/i }) Expected: hidden Received: visible Timeout: 5000ms Call log: - Expect "toBeHidden" with timeout 5000ms - waiting for getByRole('heading', { name: /upload documents/i }) 9 × locator resolved to <h2 id="radix-_r_d_" data-slot="dialog-title" class="text-lg leading-none font-semibold">Upload documents</h2> - unexpected value "visible" 86 | await expect( 87 | page.getByRole("heading", { name: /upload documents/i }), > 88 | ).toBeHidden({ timeout: 5_000 }); | ^ 89 | }); 90 | }); 91 | at /home/runner/work/docsiq/docsiq/ui/e2e/upload.spec.ts:88:7
[chromium] › e2e/upload.spec.ts:66:3 › upload happy-path › user can open the upload modal: ui/e2e/upload.spec.ts#L88
1) [chromium] › e2e/upload.spec.ts:66:3 › upload happy-path › user can open the upload modal, pick a file, and see the modal close on success Error: expect(locator).toBeHidden() failed Locator: getByRole('heading', { name: /upload documents/i }) Expected: hidden Received: visible Timeout: 5000ms Call log: - Expect "toBeHidden" with timeout 5000ms - waiting for getByRole('heading', { name: /upload documents/i }) 9 × locator resolved to <h2 id="radix-_r_d_" data-slot="dialog-title" class="text-lg leading-none font-semibold">Upload documents</h2> - unexpected value "visible" 86 | await expect( 87 | page.getByRole("heading", { name: /upload documents/i }), > 88 | ).toBeHidden({ timeout: 5_000 }); | ^ 89 | }); 90 | }); 91 | at /home/runner/work/docsiq/docsiq/ui/e2e/upload.spec.ts:88:7
🎭 Playwright Run Summary
1 failed [chromium] › e2e/upload.spec.ts:66:3 › upload happy-path › user can open the upload modal, pick a file, and see the modal close on success 30 passed (48.7s)

Artifacts

Produced during runtime
Name Size Digest
playwright-report Expired
1.33 MB
sha256:37239c192c86b17d867cc356b6571c44911fa9965d5467e2ede0d2aa83a29a53
playwright-traces Expired
758 KB
sha256:dbdc9edbdda85d95a5d2fe5f2200046e1e0bf85f45400c481a0fedd32ad881dc