test(app): assert the visible metric rows in the app probe

This commit is contained in:
2026-10-22 03:20:36 +01:00
parent 559d767f39
commit 07f6446c24
+4 -1
View File
@@ -332,7 +332,10 @@ try {
await delay(300);
const metricsCapture = await capture('i1-runs-phone-detail-metrics');
captures.push(metricsCapture);
await assertOcr(metricsCapture, 'Total tokens');
// The expanded metrics tile scrolls; the first recorded rows can be above the
// capture, so the probe asserts the rows this viewport shows. The full label
// set is covered by the Summary widget tests.
await assertOcr(metricsCapture, 'Output tokens');
await assertOcr(metricsCapture, 'Reported cost');
// Browser Back/Forward move between the in-app routes, not out of the app.