diff --git a/src/App/src/components/ChatInput.tsx b/src/App/src/components/ChatInput.tsx index b51983af2..bed099ee9 100644 --- a/src/App/src/components/ChatInput.tsx +++ b/src/App/src/components/ChatInput.tsx @@ -122,6 +122,7 @@ export const ChatInput = React.memo(function ChatInput({ size="small" onClick={handleSubmit} disabled={!inputValue.trim() || isLoading} + aria-label="Send" style={{ minWidth: '32px', height: '32px', diff --git a/tests/e2e-test/pages/HomePage.py b/tests/e2e-test/pages/HomePage.py index fc0209ee1..a819ad345 100644 --- a/tests/e2e-test/pages/HomePage.py +++ b/tests/e2e-test/pages/HomePage.py @@ -24,7 +24,7 @@ class HomePage(BasePage): # Input and send locators ASK_QUESTION_TEXTAREA = "//input[@placeholder='Type a message']" - SEND_BUTTON = "//button[2]//span[1]" + SEND_BUTTON = "//button[@aria-label='Send']" # Response and status locators TYPING_INDICATOR = "//div[@class='typing-indicator']"