Skip to content

Commit 17616d8

Browse files
radroidclaude
andcommitted
test(web): reconcile upstream's new running-send assertion with the fork's steer label
Upstream 7afa184 (pingdotgg#4781) made the send button reachable while a turn is running on mobile, and added a test asserting it renders beside Stop with aria-label "Send message". The fork already lengthens that label to "Send message to the running turn" (#35), because on a steer-capable driver the submit folds into the work in progress instead of starting a new turn, and nothing else on screen says so. Both intents survive: the label stays the fork's, and upstream's actual subject -- that a submit button renders beside Stop at the larger size -- is still pinned by the surrounding assertions, which are untouched. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
1 parent c8b2c49 commit 17616d8

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎apps/web/src/components/chat/ComposerPrimaryActions.test.tsx‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,11 @@ describe("ComposerPrimaryActions", () => {
249249
const markup = renderRunningActions(true, true);
250250

251251
expect(markup).toContain('aria-label="Stop generation"');
252-
expect(markup).toContain('aria-label="Send message"');
252+
// The fork lengthens this one label while a turn is running (#35): on a steer-capable
253+
// driver the submit folds into the work in progress rather than starting a new turn,
254+
// and that is invisible otherwise. Upstream's intent for this test — that a submit
255+
// button renders beside Stop, at the larger size — is unchanged and still pinned below.
256+
expect(markup).toContain('aria-label="Send message to the running turn"');
253257
expect(markup).toContain('type="submit"');
254258
expect(markup).toContain("size-9 sm:size-8");
255259
});

0 commit comments

Comments
 (0)