mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
fix(core): cannot focus inside shape in test (#11630)
This commit is contained in:
@@ -182,7 +182,7 @@ export class EditorUtils {
|
||||
});
|
||||
|
||||
// Insert text inside shape
|
||||
await page.mouse.dblclick(400, 400);
|
||||
await page.mouse.dblclick(450, 450);
|
||||
await page.keyboard.insertText(text);
|
||||
// Prevent the shape from being dragged
|
||||
await page.mouse.click(500, 500);
|
||||
|
||||
Reference in New Issue
Block a user