mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-18 14:56:59 +08: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
|
// Insert text inside shape
|
||||||
await page.mouse.dblclick(400, 400);
|
await page.mouse.dblclick(450, 450);
|
||||||
await page.keyboard.insertText(text);
|
await page.keyboard.insertText(text);
|
||||||
// Prevent the shape from being dragged
|
// Prevent the shape from being dragged
|
||||||
await page.mouse.click(500, 500);
|
await page.mouse.click(500, 500);
|
||||||
|
|||||||
Reference in New Issue
Block a user