test(app): follow the run detail tabs in the real-app probe

This commit is contained in:
2026-10-22 00:46:48 +01:00
parent 68993efaac
commit dd5a5edc4b
+6 -1
View File
@@ -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);