Merge branch 'main' into flutter/probe-chat-create
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ or scratch servers only, never real operator sessions/runs/workflows.
|
||||
| Start a pipeline | Preview: native Run action, prompt/workspace/notify dialog, pinned run request, response-loss check/retry | pending launch intent persists across a reload (run 159) keyed per server (runs 159, 161) |
|
||||
| Templates | Preview: gallery/detail/source, create-only dialog via Settings → Templates, list invalidated on create | run-detail template link, create refresh verified against a real server |
|
||||
| Runs list/filter/sort/live fold | Preview | shell live/attention state (filter menu and day groups landed) |
|
||||
| Run detail/input/output/copy/metrics | Preview: Summary recorded fields with exact unknown wording, Input/Output/Copy, metrics | verify the remaining server-shape variants against fixtures |
|
||||
| Run detail/input/output/copy | Preview: Summary recorded fields with exact unknown wording, Input/Output/Copy (no usage metrics block, matching the web since be6b6239) | verify the remaining server-shape variants against fixtures |
|
||||
| Rename run | Preview | verified exact accepted title fold; no live production mutation tested |
|
||||
| Cancel run | Preview | exact confirm/server-accepted detail+list fold; production cancellation not tested |
|
||||
| Retry/restart | Preview controls in the run detail | accepted new-run navigation, stale/refusal handling verified in the app |
|
||||
|
||||
@@ -195,15 +195,6 @@ try {
|
||||
deltaY,
|
||||
}, session);
|
||||
|
||||
const scrollUntil = async (text) => {
|
||||
for (let attempt = 0; attempt < 20; attempt++) {
|
||||
if ((await semanticText()).includes(text)) return;
|
||||
await wheel(400);
|
||||
await delay(180);
|
||||
}
|
||||
throw new Error(`Could not scroll to ${JSON.stringify(text)}`);
|
||||
};
|
||||
|
||||
const setSize = async (width, height) => {
|
||||
await send('Emulation.setDeviceMetricsOverride', {
|
||||
width,
|
||||
@@ -325,19 +316,6 @@ try {
|
||||
captures.push(outputCapture);
|
||||
await assertOcr(outputCapture, 'answer');
|
||||
|
||||
await clickText('Summary');
|
||||
await scrollUntil('Metrics');
|
||||
await clickText('Metrics');
|
||||
await wheel(300);
|
||||
await delay(300);
|
||||
const metricsCapture = await capture('i1-runs-phone-detail-metrics');
|
||||
captures.push(metricsCapture);
|
||||
// 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.
|
||||
const path = () => evaluate('location.pathname');
|
||||
await evaluate('history.back()');
|
||||
|
||||
Reference in New Issue
Block a user