fix: flaky e2e tests

This commit is contained in:
sallto
2022-11-06 14:11:47 +01:00
committed by Tienson Qin
parent 6dd2e69b23
commit 354d379874

View File

@@ -79,7 +79,7 @@ test('draw a rectangle', async ({ page }) => {
await page.keyboard.press('8')
await page.mouse.move(bounds.x, bounds.y);
await page.mouse.move(bounds.x + 5, bounds.y + 5);
await page.mouse.down();
await page.mouse.move(bounds.x + bounds.width / 2, bounds.y + bounds.height / 2);