✅ (index.tsx): add data-testid attribute to checkbox component
✅ (basicExamples.spec.ts): add waitForSelector for send icon to improve test stability
✅ (chatInputOutputUser.spec.ts): add waitForSelector for send icon to improve test stability
✅ (deleteComponentFlows.spec.ts): add waitForSelector for various elements to improve test stability
✅ (generalBugs.spec.ts): add waitForSelector for send icon to improve test stability
✅ (store.spec.ts): update test selector to use new data-testid attribute
♻️ (textInputOutput.spec.ts): refactor element selection and interaction logic for clarity and maintainability
💡 (textAreaWrapper): add data-testid attribute for better test targeting
✅ (actionsMainPage.spec.ts): add waitForSelector for better test stability
✅ (basicExamples.spec.ts): replace waitForTimeout with waitForSelector
✅ (basicExamples.spec.ts): use data-testid for chat input for consistency
✅ (memoryChatbot.spec.ts): replace waitForTimeout with waitForSelector
✅ (memoryChatbot.spec.ts): use data-testid for chat input for consistency
✅ (documentQA.spec.ts): replace waitForTimeout with waitForSelector
✅ (documentQA.spec.ts): use data-testid for chat input for consistency
✅ (vectorStoreRAG.spec.ts): replace waitForTimeout with waitForSelector
✅ (vectorStoreRAG.spec.ts): use data-testid for chat input for consistency
✅ (tests): add waitForSelector to ensure elements are loaded before interaction
✅ (tests): add waitForSelector for 'fit view' button in end-to-end tests
✅ (basicExamples.spec.ts): add waitForSelector for 'fit view' to ensure element is loaded
✅ (basicExamples.spec.ts): add waitForSelector for 'built successfully' to ensure element is loaded
✅ (chatInputOutput.spec.ts): add waitForSelector for 'extended-disclosure' to ensure element is loaded
✅ (codeAreaModalComponent.spec.ts): add waitForSelector for 'extended-disclosure' to ensure element is loaded
✅ (dropdownComponent.spec.ts): add waitForSelector for 'extended-disclosure' to ensure element is loaded
✅ (fileUploadComponent.spec.ts): add waitForSelector for 'extended-disclosure' to ensure element is loaded
✅ (filterEdge.spec.ts): add waitForSelector for 'extended-disclosure' to ensure element is loaded
✅ (filterEdge.spec.ts): update test expectations for 'disclosure-agents' to be visible
✅ (floatComponent.spec.ts): add waitForSelector for 'extended-disclosure' to ensure element is loaded
✅ (flowPage.spec.ts): add waitForSelector for 'extended-disclosure' to ensure element is loaded
✅ (folders.spec.ts): add waitForSelector for 'icon-ChevronLeft' to ensure element is loaded
✅ (folders.spec.ts): update folder name input and visibility check to improve reliability
✅ (generalBugs.spec.ts): add waitForSelector for 'extended-disclosure' to ensure element is loaded
✅ (tests): replace waitForTimeout with waitForSelector in end-to-end tests
Replace `waitForTimeout` with `waitForSelector` to improve test reliability and reduce flakiness.
* 🐛 (tableNodeCellRender): fix templateValue check to use Object.keys
✨ (textAreaComponent): add Case component for conditional rendering
♻️ (editNodeModal): remove commented-out useEffect code
✅ (basicExamples.spec): update test selectors and increase timeout values
✅ (filterEdge.spec.ts): update test IDs to match new naming conventions
✅ (inputListComponent.spec.ts, intComponent.spec.ts): update test IDs and streamline test steps for consistency and clarity
✅ (keyPairListComponent.spec.ts): update test ID for model element
✅ (keyPairListComponent.spec.ts): add steps to test editing model options and saving changes
* ✅ (tests): update end-to-end tests for chat input/output and modal components
- Update test selectors for better accuracy
- Add keyboard interaction in chatInputOutputUser.spec.ts
- Improve file handling in chat image upload test
- Refine prompt modal component tests for better validation
- Enhance twoEdges.spec.ts with additional view controls
* ♻️ (tests): refactor repeated click actions into reusable function in e2e tests
* ✅ (tests): replace waitForTimeout with waitForSelector in end-to-end tests
* ✅ (typescript_test.yml): add --debug flag to Playwright test command for better debugging
* ✅ (typescript_test.yml): enable trace option in Playwright tests for better debugging
* ✅ (typescript_test.yml): reduce Playwright test workers from 2 to 1 to improve stability
✅ (textInputOutput.spec.ts): add waitFor visibility checks to ensure elements are visible before interaction
* ✅ (tests): update paths for test assets to correct locations
✅ (tests): add waitForSelector to ensure elements are loaded before interaction
* ✅ (typescript_test.yml): increase Playwright workers from 1 to 2 to speed up tests
✅ (chatInputOutputUser.spec.ts): increase timeout for AI response to 100000ms
✅ (chatInputOutputUser.spec.ts): correct file path for image upload test
✅ (deleteComponentFlows.spec.ts): change waitFor to target last checkbox-component
✅ (store.spec.ts): increase timeout for share button to 100000ms
* 🐛 (flows.py): ensure flow names are unique by appending a number if necessary
* Apply Ruff formatting
---------
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: Cristhianzl <Cristhianzl@users.noreply.github.com>
* fix error on port frontend variable .env
* ✨ (constants.ts, vite.config.mts): add support for configurable LANGFLOW_HOST environment variable to allow dynamic backend URL configuration
* 🔧 (constants.ts, vite.config.mts): consolidate backend URL configuration into a single environment variable
✅ (tests): update locators and tooltips in end-to-end tests for filterEdge
✅ (tests): add random name generation in store.spec.ts for unique flow names
✅ (tests): update locators in textInputOutput.spec.ts for consistency
✅ (twoEdges.spec.ts): update test to click correct icon-Eye element and remove redundant checks
✅ (tests): update locators in chatInputOutput.spec.ts for element accuracy
✅ (tests): import dotenv and path in end-to-end tests for environment config
✅ (tests): add control-click actions in group.spec.ts for multi-select testing
✅ (tests): update text assertions in logs.spec.ts for consistency with UI changes
✅ (inputListComponent.spec.ts): correct test IDs and update element counts
✅ (promptModalComponent.spec.ts): fix incorrect locator ID
✅ (textAreaModalComponent.spec.ts): fix incorrect locator ID
✅ (textInputOutput.spec.ts): update hover element locator for accuracy
* Refactor chatView component to handle artifacts in chat messages, fixing bug on streamed messages after refresh
* Improve error handling and error messages in CustomNodes hooks to provide more informative and user-friendly error messages. This ensures that users are aware of any unexpected errors that occur while updating or adding components, and prompts them to try again. This change also aligns with recent improvements in error handling across the codebase.
* ♻️ (utils.ts): remove unnecessary trailing commas in function parameters
* ✨ (frontend): add constants for error messages in CustomNodes hooks
♻️ (frontend): refactor error handling in CustomNodes hooks to use constants
* feat: Add constants for error messages in CustomNodes hooks
Refactor error handling in CustomNodes hooks to use constants for error messages. This improves code readability and maintainability, ensuring consistent error messages are displayed to users. This change aligns with recent improvements in error handling across the codebase.
* refactor: Improve error handling and error messages in CustomNodes hooks
* refactor: Improve error handling and error messages in CustomNodes hooks
* refactor: Improve error handling and error messages in CustomNodes hooks
* refactor: Add missing click event in codeAreaModalComponent.spec.ts
* refactor: Update cURL code generation to use icon-Copy test ID for button click
* refactor: Improve error handling and error messages in CustomNodes hooks
* refactor: Remove unnecessary click event in logs.spec.ts
* refactor: Fix XPath selectors in textInputOutput.spec.ts
* fix python api test
* refactor: Update cURL code generation to use icon-Copy test ID for button click
* fix save component
* refactor: Update API key selection in userSettings.spec.ts
* refactor: Update promptModalComponent.spec.ts
* refactor: Update chatInputOutput.spec.ts for zoom out functionality
* refactor: Add return_message option to ChatInput build_config
* fix streaming
* update example
* update example name
* refactor: Update chatInputOutputUser.spec.ts test to improve readability and maintainability
---------
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
Co-authored-by: italojohnny <italojohnnydosanjos@gmail.com>
✅ (tests): remove unnecessary keyboard press and fix formatting in chatInputOutputUser.spec.ts
✅ (tests): update selector for copy button in curl_api_generation.spec.ts
✅ (tests): fix formatting in intComponent.spec.ts
✅ (tests): update end-to-end tests for improved stability and clarity
- Remove redundant "Close" button clicks in logs and textInputOutput tests
- Add "more-options-modal" click in promptModalComponent and saveComponents tests
- Replace role-based selectors with test ID selectors for "Copy Code" button
- Update API key section text in userSettings test for consistency
♻️ (base.py): refactor log_transaction to include flow_id for better traceability
♻️ (vertex/base.py): refactor log_transaction to include flow_id for better traceability
✨ (schema.py): add flow_id and make outputs optional in TransactionModel
♻️ (service.py): update SQL query to include new fields and order by timestamp
♻️ (utils.py): update log_transaction to include flow_id and handle optional outputs
💄 (index.tsx): fix linting issues and update button component
✅ (chatInputOutputUser.spec.ts): add additional steps to end-to-end test for chat functionality