Skip to content

The agent that grows with you

test(desktop): keep a screenshot of the reply after the reconnect

Tekniumbd7a8a3de712
diff --git a/apps/desktop/e2e/core/reply-tail-after-reconnect.spec.ts b/apps/desktop/e2e/core/reply-tail-after-reconnect.spec.ts
index 30923457cee..27259fe108a 100644
--- a/apps/desktop/e2e/core/reply-tail-after-reconnect.spec.ts
+++ b/apps/desktop/e2e/core/reply-tail-after-reconnect.spec.ts
@@ -176,6 +176,7 @@ test('a reply that commits between the reconnect replay and the resume renders i
// otherwise repairs the view 20-50 s later.
await expect(viewport(page)).toContainText(`${A(2)} answer across the drop`, { timeout: 10_000 })
await expect(stopButton(page)).toHaveCount(0, { timeout: 30_000 })
+ await page.screenshot({ path: test.info().outputPath('reply-after-reconnect.png') })
session.lossyWire = [U(2)]
await assertTranscriptOracle(page, ws, provider, session, 'commit between replay and resume')
} finally {