From 28b825b5f7ab440ed3e111ba59eabdc139076c37 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Thu, 12 Mar 2026 11:36:33 -0300 Subject: [PATCH 01/13] updated env example to contain flow ids --- frontend/.env.test.example | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend/.env.test.example b/frontend/.env.test.example index f53600840..aaeb9a02d 100644 --- a/frontend/.env.test.example +++ b/frontend/.env.test.example @@ -2,6 +2,12 @@ DISABLE_INGEST_WITH_LANGFLOW=false INGEST_SAMPLE_DATA=true +# Langflow Configuration +LANGFLOW_CHAT_FLOW_ID='1098eea1-6649-4e1d-aed1-b77249fb8dd0' +LANGFLOW_INGEST_FLOW_ID='5488df7c-b93f-4f87-a446-b67028bc0813' +LANGFLOW_URL_INGEST_FLOW_ID='72c3d17c-2dac-4a73-b48a-6518473d7830' +NUDGES_FLOW_ID='ebc01d31-1976-46ce-a385-b0240327226c' + # Auth OPENSEARCH_PASSWORD= From ddeb8cba15bbd1aae0d31a6d149d46b3fa5e2f00 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Thu, 12 Mar 2026 11:36:50 -0300 Subject: [PATCH 02/13] added data test ids into onboarding components --- frontend/app/chat/_components/chat-input.tsx | 2 + frontend/app/chat/_components/nudges.tsx | 1 + .../_components/selected-knowledge-filter.tsx | 1 + .../app/chat/_components/user-message.tsx | 1 + .../app/onboarding/_components/advanced.tsx | 6 ++- .../_components/anthropic-onboarding.tsx | 1 + .../onboarding/_components/ibm-onboarding.tsx | 1 + .../onboarding/_components/model-selector.tsx | 43 ++++++++++++------- .../_components/ollama-onboarding.tsx | 2 + .../_components/onboarding-card.tsx | 11 ++++- .../_components/onboarding-upload.tsx | 1 + .../_components/openai-onboarding.tsx | 1 + .../onboarding/_components/progress-bar.tsx | 2 + frontend/components/label-input.tsx | 2 +- frontend/components/navigation.tsx | 2 + 15 files changed, 57 insertions(+), 20 deletions(-) diff --git a/frontend/app/chat/_components/chat-input.tsx b/frontend/app/chat/_components/chat-input.tsx index a52678186..4ca46a1c8 100644 --- a/frontend/app/chat/_components/chat-input.tsx +++ b/frontend/app/chat/_components/chat-input.tsx @@ -446,6 +446,7 @@ export const ChatInput = forwardRef( autoComplete="off" minRows={1} placeholder="Ask a question..." + data-testid="chat-input" disabled={loading} className={`w-full text-sm bg-transparent focus-visible:outline-none resize-none`} rows={1} @@ -499,6 +500,7 @@ export const ChatInput = forwardRef( size="iconSm" disabled={(!input.trim() && !uploadedFile) || loading} className="!rounded-md h-8 w-8 p-0" + data-testid="send-button" > {loading ? ( diff --git a/frontend/app/chat/_components/nudges.tsx b/frontend/app/chat/_components/nudges.tsx index 3528e47db..5651edbdc 100644 --- a/frontend/app/chat/_components/nudges.tsx +++ b/frontend/app/chat/_components/nudges.tsx @@ -29,6 +29,7 @@ export default function Nudges({ {nudges.map((suggestion: string, index: number) => (