Skip to content

ci: add e2e test job and enable preview deployments for feat/integrat… #1128

ci: add e2e test job and enable preview deployments for feat/integrat…

ci: add e2e test job and enable preview deployments for feat/integrat… #1128

Triggered via push September 8, 2026 07:57
Status Success
Total duration 6m 4s
Artifacts

husky.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 4 warnings, and 1 notice
[desktop-chromium] › tests/e2e/home.spec.js:27:1 › analyzes the example chat without uploading its contents: tests/e2e/home.spec.js#L66
2) [desktop-chromium] › tests/e2e/home.spec.js:27:1 › analyzes the example chat without uploading its contents TimeoutError: page.waitForEvent: Timeout 60000ms exceeded while waiting for event "download" =========================== logs =========================== waiting for event "download" ============================================================ 64 | expect(uploadedChatRequests).toEqual([]); 65 | > 66 | const downloadPromise = page.waitForEvent("download", { timeout: 60_000 }); | ^ 67 | await page 68 | .getByRole("button", { name: /Download free preview PDF/i }) 69 | .click(); at /home/runner/work/whatsanalyze/whatsanalyze/tests/e2e/home.spec.js:66:32
[desktop-chromium] › tests/e2e/home.spec.js:19:1 › renders the analyzer landing page: tests/e2e/home.spec.js#L23
1) [desktop-chromium] › tests/e2e/home.spec.js:19:1 › renders the analyzer landing page ────────── Error: expect(locator).toBeVisible() failed Locator: getByText('Analyze your WhatsApp Chat in Seconds', { exact: true }) Expected: visible Timeout: 15000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 15000ms - waiting for getByText('Analyze your WhatsApp Chat in Seconds', { exact: true }) - waiting for "https://localhost:3000/" navigation to finish... - navigated to "https://localhost:3000/" 21 | await expect( 22 | page.getByText("Analyze your WhatsApp Chat in Seconds", { exact: true }) > 23 | ).toBeVisible({ timeout: 15_000 }); | ^ 24 | await expect(page.locator("#uploadmytextfile")).toBeAttached(); 25 | }); 26 | at /home/runner/work/whatsanalyze/whatsanalyze/tests/e2e/home.spec.js:23:5
lint-and-prettify
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
lint-and-prettify
The process '/usr/bin/git' failed with exit code 128
e2e
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
e2e
The process '/usr/bin/git' failed with exit code 128
🎭 Playwright Run Summary
2 flaky [desktop-chromium] › tests/e2e/home.spec.js:19:1 › renders the analyzer landing page ─────────── [desktop-chromium] › tests/e2e/home.spec.js:27:1 › analyzes the example chat without uploading its contents 32 passed (5.1m)