mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
refactor(core): use image preview component in chat (#10357)
[BS-2421](https://linear.app/affine-design/issue/BS-2421/chat-block-and-chat-panel-input-render-images-时存在内存泄露风险)
This commit is contained in:
@@ -806,7 +806,7 @@ test.describe('chat with block', () => {
|
||||
.waitForSelector('.ai-item-continue-with-ai')
|
||||
.then(i => i.click());
|
||||
await page
|
||||
.waitForSelector('chat-panel-input .chat-panel-images')
|
||||
.waitForSelector('chat-panel-input image-preview-grid')
|
||||
.then(el => el.waitForElementState('visible'));
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user