Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
test: disable page-drag tests in headed linux (#31280)
Yury Semikhatsky9a31821411e7
diff --git a/tests/page/page-drag.spec.ts b/tests/page/page-drag.spec.tsindex f7b60baf8c..dcf63681a8 100644--- a/tests/page/page-drag.spec.ts+++ b/tests/page/page-drag.spec.ts@@ -21,6 +21,7 @@ import { attachFrame } from '../config/utils';it.describe('Drag and drop', () => {it.skip(({ browserName, browserMajorVersion }) => browserName === 'chromium' && browserMajorVersion < 91);it.skip(({ isAndroid }) => isAndroid, 'No drag&drop on Android.');+ it.fixme(({ headless, isLinux }) => isLinux && !headless, 'Stray mouse events on Linux headed mess up the tests.');it('should work @smoke', async ({ page, server }) => {await page.goto(server.PREFIX + '/drag-n-drop.html');@@ -334,7 +335,8 @@ it.describe('Drag and drop', () => {});});-it('should work if not doing a drag', async ({ page }) => {+it('should work if not doing a drag', async ({ page, isLinux, headless }) => {+ it.fixme(isLinux && !headless, 'Stray mouse events on Linux headed mess up the tests.');const eventsHandle = await trackEvents(await page.$('html'));await page.mouse.move(50, 50);await page.mouse.down();