feat: streamline mobile oneliner runtime
This commit is contained in:
@@ -594,6 +594,14 @@ test("oneliner runtime shows grouped run health summary above the current run ca
|
||||
assert.match(runtime, /safeArray\(runs\)\.filter\(\(item\) => item\.run_status === "needs_confirmation"\)\.length/);
|
||||
});
|
||||
|
||||
test("oneliner runtime exposes a compact mobile task strip for the current run", () => {
|
||||
const runtime = extractBetween(APP, "function renderOneLinerRunsHtml()", "function renderOneLinerMessagesHtml()");
|
||||
assert.match(runtime, /mobile-only compact-summary-row/);
|
||||
assert.match(runtime, /mobile-only mobile-flow-focus-card/);
|
||||
assert.match(runtime, /当前运行/);
|
||||
assert.match(runtime, /继续这个任务/);
|
||||
});
|
||||
|
||||
test("opening a main agent run result keeps that run selected in the floating runtime", () => {
|
||||
const resultAction = extractBetween(APP, "function openCurrentOneLinerRunResultAction(runId = \"\")", "function openConfirmOneLinerRunAction(runId = \"\")");
|
||||
assert.match(resultAction, /appState\.selectedOnelinerRunId = currentRun\.id/);
|
||||
|
||||
Reference in New Issue
Block a user