From 399c6b39fcb8a5f4e525862291646ee32439e00a Mon Sep 17 00:00:00 2001 From: Shisir Basel <110526802+shisirbasel@users.noreply.github.com> Date: Tue, 14 Apr 2026 14:38:20 -0400 Subject: [PATCH] Add data-testid to stop generation button (#35491) --- components/ai_chat/resources/page/components/input_box/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/ai_chat/resources/page/components/input_box/index.tsx b/components/ai_chat/resources/page/components/input_box/index.tsx index 241c746d3de..464ec149cd6 100644 --- a/components/ai_chat/resources/page/components/input_box/index.tsx +++ b/components/ai_chat/resources/page/components/input_box/index.tsx @@ -491,6 +491,7 @@ function InputBox(props: InputBoxProps) { })} onClick={handleStopGenerating} title={getLocale(S.CHAT_UI_STOP_GENERATION_BUTTON_LABEL)} + data-testid='stop-generation-button' >