feat(server): enable web search for 4.1 (#11825)
This commit is contained in:
10 files changed
+317
-99
No files matched your search
@@ -30,6 +30,9 @@ test.describe('AIChatWith/Image', () => {
|
||||
const imageBlock = await page.locator('affine-image');
|
||||
const captionBlock = await imageBlock.locator('block-caption-editor');
|
||||
await expect(captionBlock).toBeVisible();
|
||||
await expect(captionBlock.locator('textarea')).toHaveValue(caption);
|
||||
const captionText = await captionBlock.locator('textarea');
|
||||
expect(await captionText.inputValue().then(t => t.trim())).toBe(
|
||||
caption.trim()
|
||||
);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user