mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
feat(server): enable web search for 4.1 (#11825)
This commit is contained in:
@@ -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