test: add comprehensive unit tests for JinaReader and WaterCrawl comp… (#29768)
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
This commit is contained in:
1812
web/app/components/datasets/create/website/watercrawl/index.spec.tsx
Normal file
1812
web/app/components/datasets/create/website/watercrawl/index.spec.tsx
Normal file
File diff suppressed because it is too large
Load Diff
@@ -37,6 +37,7 @@ const Options: FC<Props> = ({
|
||||
isChecked={payload.crawl_sub_pages}
|
||||
onChange={handleChange('crawl_sub_pages')}
|
||||
labelClassName='text-[13px] leading-[16px] font-medium text-text-secondary'
|
||||
testId='crawl-sub-pages'
|
||||
/>
|
||||
<div className='flex justify-between space-x-4'>
|
||||
<Field
|
||||
@@ -78,6 +79,7 @@ const Options: FC<Props> = ({
|
||||
isChecked={payload.only_main_content}
|
||||
onChange={handleChange('only_main_content')}
|
||||
labelClassName='text-[13px] leading-[16px] font-medium text-text-secondary'
|
||||
testId='only-main-content'
|
||||
/>
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user