The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(desktop-core): 180 s per-test cap, keep traces on a cancelled lane, honest onboarding header
teknium11d574487ebb7
diff --git a/.github/workflows/e2e-desktop-core.yml b/.github/workflows/e2e-desktop-core.ymlindex 861be2dd689..3eb37accae8 100644--- a/.github/workflows/e2e-desktop-core.yml+++ b/.github/workflows/e2e-desktop-core.yml@@ -78,7 +78,7 @@ jobs:working-directory: apps/desktoprun: |xvfb-run -a --server-args="-screen 0 1280x1024x24" \- npx playwright test -c e2e/core/playwright.config.ts --reporter=list+ npx playwright test -c e2e/core/playwright.config.tsenv:CI: 'true'OPENROUTER_API_KEY: ''@@ -87,7 +87,7 @@ jobs:ANTHROPIC_API_KEY: ''- name: Upload failure artifacts- if: failure()+ if: failure() || cancelled()uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1with:name: desktop-core-e2e-${{ github.sha }}diff --git a/apps/desktop/e2e/core/onboarding-first-chat.spec.ts b/apps/desktop/e2e/core/onboarding-first-chat.spec.tsindex 6715bf4c0c4..1ee4a8aeb61 100644--- a/apps/desktop/e2e/core/onboarding-first-chat.spec.ts+++ b/apps/desktop/e2e/core/onboarding-first-chat.spec.ts@@ -5,8 +5,9 @@* The user picks the local / custom endpoint path and enters the fake* provider's URL; the real backend probes it (/v1/models), persists the* assignment, and the overlay closes. Then the first chat must obey the same- * transcript oracle as everything else — this is the path where #120005- * (every streamed word painted twice) first shipped.+ * transcript oracle as everything else. A smoke test for onboarding followed+ * by a first chat; the #120005 double-paint needs a non-default profile and is+ * guarded by transcript-integrity.spec.ts.** Invariants: the onboarding result is what the backend persisted and what* the model is actually called with (config base_url == entered URL; thediff --git a/apps/desktop/e2e/core/playwright.config.ts b/apps/desktop/e2e/core/playwright.config.tsindex 3a28ac90b80..f8a3d846b98 100644--- a/apps/desktop/e2e/core/playwright.config.ts+++ b/apps/desktop/e2e/core/playwright.config.ts@@ -11,13 +11,14 @@ import { defineConfig } from '@playwright/test'* - no visual baselines / always-on screenshots; artifacts only on failure.* - one worker: every spec owns a real Electron + `hermes serve`; running* them concurrently on a loaded runner is the timing margin we refuse.- * - generous per-test timeout; every wait inside is event-driven with its- * own deadline, so a long timeout never slows a green run.+ * - 180 s per test (green runs take 6-36 s): a stalled stream fails the one+ * test fast instead of the 30-min job timeout cancelling the whole lane+ * before it reports.*/export default defineConfig({testDir: '.',testMatch: '*.spec.ts',- timeout: 600_000,+ timeout: 180_000,expect: { timeout: 60_000 },retries: 0,workers: 1,