mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
refactor(core): remove useless chat-input components (#11426)
Close [BS-2583](https://linear.app/affine-design/issue/BS-2583).
This commit is contained in:
@@ -96,7 +96,7 @@ test.describe('AIChatWith/Network', () => {
|
||||
buffer: buffer,
|
||||
});
|
||||
|
||||
await page.waitForSelector('chat-panel-input img');
|
||||
await page.waitForSelector('ai-chat-input img');
|
||||
const isNetworkSearchEnabled =
|
||||
await utils.chatPanel.isNetworkSearchEnabled(page);
|
||||
await expect(isNetworkSearchEnabled).toBe(false);
|
||||
|
||||
@@ -244,7 +244,7 @@ export class ChatPanelUtils {
|
||||
const fileChooser = await fileChooserPromise;
|
||||
await fileChooser.setFiles(images);
|
||||
|
||||
await page.waitForSelector('chat-panel-input img');
|
||||
await page.waitForSelector('ai-chat-input img');
|
||||
await this.makeChat(page, text);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user