From 95f2caacab940dc1585c721154c545f887a623e5 Mon Sep 17 00:00:00 2001 From: Andrew Varga Date: Thu, 24 Apr 2025 19:46:07 +0200 Subject: [PATCH] Fix testing-selections test / clicking on empty space (#6481) fix clicking on empty space which happened to click on UI, causing the test to fail --- e2e/playwright/testing-selections.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/playwright/testing-selections.spec.ts b/e2e/playwright/testing-selections.spec.ts index 13eb29d49..43821bfde 100644 --- a/e2e/playwright/testing-selections.spec.ts +++ b/e2e/playwright/testing-selections.spec.ts @@ -39,12 +39,12 @@ test.describe('Testing selections', { tag: ['@skipWin'] }, () => { }) const emptySpaceHover = () => test.step('Hover over empty space', async () => { - await page.mouse.move(700, 143, { steps: 5 }) + await page.mouse.move(1000, 143, { steps: 5 }) await expect(page.locator('.hover-highlight')).not.toBeVisible() }) const emptySpaceClick = () => test.step(`Click in empty space`, async () => { - await page.mouse.click(700, 143) + await page.mouse.click(1000, 143) await expect(page.locator('.cm-line').last()).toHaveClass( /cm-activeLine/ )