|
@@ -83,7 +83,7 @@ test('draw a rectangle', async ({ page }) => {
|
|
|
const canvas = await page.waitForSelector('.logseq-tldraw')
|
|
|
const bounds = (await canvas.boundingBox())!
|
|
|
|
|
|
- await page.keyboard.press('r')
|
|
|
+ await page.keyboard.press('r', { delay: 50 })
|
|
|
|
|
|
await page.mouse.move(bounds.x + 5, bounds.y + 5)
|
|
|
await page.mouse.down()
|