test(app): follow the run detail tabs in the real-app probe
This commit is contained in:
@@ -259,7 +259,12 @@ try {
|
|||||||
}
|
}
|
||||||
await assertBody('Original prompt');
|
await assertBody('Original prompt');
|
||||||
await assertBody('Timeline');
|
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 assertBody('build · visit 3');
|
||||||
|
await clickText('Summary');
|
||||||
|
await assertBody('Original prompt');
|
||||||
const detailCapture = await capture('i1-runs-phone-detail');
|
const detailCapture = await capture('i1-runs-phone-detail');
|
||||||
captures.push(detailCapture);
|
captures.push(detailCapture);
|
||||||
await assertOcr(detailCapture, 'fixture prompt with spaces');
|
await assertOcr(detailCapture, 'fixture prompt with spaces');
|
||||||
@@ -313,7 +318,6 @@ try {
|
|||||||
captures.push(inputCapture);
|
captures.push(inputCapture);
|
||||||
await assertOcr(inputCapture, 'input payload');
|
await assertOcr(inputCapture, 'input payload');
|
||||||
|
|
||||||
await scrollUntil('Output');
|
|
||||||
await clickText('Output');
|
await clickText('Output');
|
||||||
await wheel(250);
|
await wheel(250);
|
||||||
await delay(300);
|
await delay(300);
|
||||||
@@ -321,6 +325,7 @@ try {
|
|||||||
captures.push(outputCapture);
|
captures.push(outputCapture);
|
||||||
await assertOcr(outputCapture, 'answer');
|
await assertOcr(outputCapture, 'answer');
|
||||||
|
|
||||||
|
await clickText('Summary');
|
||||||
await scrollUntil('Metrics');
|
await scrollUntil('Metrics');
|
||||||
await clickText('Metrics');
|
await clickText('Metrics');
|
||||||
await wheel(300);
|
await wheel(300);
|
||||||
|
|||||||
Reference in New Issue
Block a user