- Added vitest imports to various dataset test files for improved testing capabilities.
- Ensured consistency in test structure across files by incorporating beforeEach, describe, expect, and it functions.
- Introduced new test files for Dataset Settings Flow, Metadata Management Flow, and Pipeline Data Source Store Composition.
- Enhanced test coverage by validating cross-module interactions, data contracts, and state management across various components.
- Ensured proper handling of user interactions and configuration cascades in the dataset settings and metadata management processes.
These additions improve the reliability and maintainability of dataset-related features.
- Introduced new test files for DocumentList, IndexingProgressItem, RuleDetail, UpgradeBanner, and various utility functions related to the embedding process.
- Enhanced test coverage by validating rendering, user interactions, and edge cases for each component.
- Ensured proper functionality of user interactions, such as button clicks and state changes, as well as validation of parameters in hooks and utilities.
These additions improve the reliability and maintainability of the embedding process and website features.
- Introduced new test files for DataSourceTypeSelector, NextStepButton, PreviewPanel, and various hooks related to document creation and indexing.
- Enhanced test coverage by validating rendering, user interactions, and edge cases for each component.
- Ensured proper functionality of user interactions such as button clicks and state changes, as well as validation of parameters in hooks.
These additions improve the reliability and maintainability of the dataset creation and processing features.
- Introduced new test files for Create Dataset Flow, Document Management Flow, External Knowledge Base Creation Flow, Hit Testing Flow, and Segment CRUD Flow.
- Validated cross-module interactions, data contracts, and API calls for dataset creation, document management, and hit testing functionalities.
- Enhanced test coverage by ensuring proper handling of user interactions, query submissions, and state management across various components.
These additions improve the reliability and maintainability of the dataset-related features.