mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-22 20:46:38 +08:00
feat: refactor copilot module (#14537)
This commit is contained in:
@@ -82,7 +82,7 @@ export class EditorUtils {
|
||||
}
|
||||
|
||||
public static async waitForAiAnswer(page: Page) {
|
||||
const answer = await page.getByTestId('ai-penel-answer');
|
||||
const answer = page.getByTestId('ai-penel-answer').last();
|
||||
await answer.waitFor({
|
||||
state: 'visible',
|
||||
timeout: 2 * 60000,
|
||||
|
||||
Reference in New Issue
Block a user