fundon committed 2025-04-03 03:27:26 +00:00
1 parent c61df18ab9
commit a1500e3ee1
5 files changed
+34 -5

No files matched your search

@@ -582,4 +582,12 @@ export class EditorUtils {
),
} as const;
}
public static async whatAreYourThoughts(page: Page, text: string) {
const textarea = page.locator(
'affine-ai-panel-widget .ai-panel-container textarea'
);
await textarea.fill(text);
return textarea;
}
}