Browse Source

fix: flaky e2e tests

sallto 3 years ago
parent
commit
354d379874
1 changed files with 1 additions and 1 deletions
  1. 1 1
      e2e-tests/whiteboards.spec.ts

+ 1 - 1
e2e-tests/whiteboards.spec.ts

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