From 705093a68a111803fdfda0b1a317ccf0698b17ae Mon Sep 17 00:00:00 2001 From: Dotta Date: Wed, 16 Sep 2026 16:35:16 -0500 Subject: [PATCH] Reuse card-aware replies in continuation journeys Dismiss the active card's composer view before typing a message, using the existing onboarding/chat driver without accepting the card. Co-Authored-By: Paperclip --- tests/runner-e2e/continuation-flow.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/runner-e2e/continuation-flow.ts b/tests/runner-e2e/continuation-flow.ts index 3a5aa8dcdad..9308a7157df 100644 --- a/tests/runner-e2e/continuation-flow.ts +++ b/tests/runner-e2e/continuation-flow.ts @@ -4,6 +4,7 @@ import path from "node:path"; import { pollUntil, type RunnerApi } from "./api.js"; import { chatQuestionPresentation, + sendChatMessage, collectChatRunEvidence, type ChatRun, } from "./chat-flow.js"; @@ -15,7 +16,7 @@ import { gradeContinuation, type ContinuationCheckpoint, } from "./continuation-scoring.js"; -import { createTaskThroughUi, submitTaskReply } from "./user-actions.js"; +import { createTaskThroughUi } from "./user-actions.js"; import type { LiveFixtureValues } from "./live-fixtures.js"; import type { MatrixExecution } from "./types.js"; type Row = Record; @@ -175,7 +176,7 @@ export async function runContinuationFlow(input: { } async function reply(body: string) { const before = new Set(runs.map((r) => r.id)); - await submitTaskReply(page, body); + await sendChatMessage(page, body); await settle(before); } function assertWaiting() {