Skip to content

Open-source AI browser agent for Chrome and Firefox (monorepo) 🧠

Extract the finished-run helper in the clarification hydration test

Claude1161e916797b
diff --git a/test/pending-clarification-hydration.mjs b/test/pending-clarification-hydration.mjs
index e8310e724..64974efd9 100644
--- a/test/pending-clarification-hydration.mjs
+++ b/test/pending-clarification-hydration.mjs
@@ -84,7 +84,7 @@ async function panel(f, options = {}) {
}
throw new Error(`Unexpected hydration RPC: ${action}`);
});
- const names = ['applyActiveRunState', 'handleAgentUpdateMessage', 'ensureCurrentRunAssistant', 'isTerminalRunUiStatus',
+ const names = ['applyActiveRunState', 'handleAgentUpdateMessage', 'ensureCurrentRunAssistant', 'isTerminalRunUiStatus', 'isFinishedRunUiStatus',
'renderClarifyCard', 'addRunProgressReplayGapNote', 'clarificationSubmissionKey', 'invalidateUnresolvedClarifyCards',
'restorePendingCurrentClarification', 'submitClarify', 'restoreActiveRunState', 'placeAnsweredClarifyCardInTimeline', 'workflowHealingTargetLabel',
'syncFailureRecoveryButtons', 'bindFailureRecoveryCard', 'renderFailureRecoveryCard', 'reconcileFailureRecoveryCards'];