From dd5a5edc4b8799cc279778cf4b28472f6e4b3efd Mon Sep 17 00:00:00 2001 From: Alan Silva Date: Thu, 22 Oct 2026 00:46:48 +0100 Subject: [PATCH] test(app): follow the run detail tabs in the real-app probe --- app/tool/runs_probe.mjs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/tool/runs_probe.mjs b/app/tool/runs_probe.mjs index 6d61d0b5..1df913ba 100644 --- a/app/tool/runs_probe.mjs +++ b/app/tool/runs_probe.mjs @@ -259,7 +259,12 @@ try { } await assertBody('Original prompt'); await assertBody('Timeline'); + // The recorded visits live on their own tab: the detail opens on Summary, so + // the timeline is only present after switching, exactly as on the web. + await clickText('Timeline'); await assertBody('build ยท visit 3'); + await clickText('Summary'); + await assertBody('Original prompt'); const detailCapture = await capture('i1-runs-phone-detail'); captures.push(detailCapture); await assertOcr(detailCapture, 'fixture prompt with spaces'); @@ -313,7 +318,6 @@ try { captures.push(inputCapture); await assertOcr(inputCapture, 'input payload'); - await scrollUntil('Output'); await clickText('Output'); await wheel(250); await delay(300); @@ -321,6 +325,7 @@ try { captures.push(outputCapture); await assertOcr(outputCapture, 'answer'); + await clickText('Summary'); await scrollUntil('Metrics'); await clickText('Metrics'); await wheel(300);