mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-15 13:41:52 +00:00
chore: remove unused component imports and styles from text-renderer (#10478)
This commit is contained in:
@@ -110,7 +110,9 @@ const collectChat = async (page: Page) => {
|
||||
return [];
|
||||
}
|
||||
// wait ai response
|
||||
await page.waitForSelector('.chat-panel-messages .message chat-copy-more');
|
||||
await page.waitForSelector('.chat-panel-messages .message chat-copy-more', {
|
||||
timeout: ONE_MINUTE,
|
||||
});
|
||||
await page.waitForTimeout(200);
|
||||
const lastMessage = await chatPanel.$$('.message').then(m => m[m.length - 1]);
|
||||
await lastMessage.waitForSelector('chat-copy-more');
|
||||
|
||||
Reference in New Issue
Block a user