From c691d1f436ebd2d70852a68c2358b13fc7e4c4ee Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Mon, 13 Mar 2023 19:04:09 -0700 Subject: [PATCH] test: skip "should respect the drop effect" in headed (#21648) https://github.com/microsoft/playwright/issues/21646 --- tests/page/page-drag.spec.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/page/page-drag.spec.ts b/tests/page/page-drag.spec.ts index 2db82fc47b..f6356ea2af 100644 --- a/tests/page/page-drag.spec.ts +++ b/tests/page/page-drag.spec.ts @@ -175,8 +175,10 @@ it.describe('Drag and drop', () => { }); }); - it('should respect the drop effect', async ({ page, browserName, platform, trace }) => { - it.fixme(browserName === 'webkit' && platform !== 'linux', 'WebKit doesn\'t handle the drop effect correctly outside of linux.'); + it('should respect the drop effect', async ({ page, browserName, isLinux, isMac, headless, trace }) => { + it.fixme(browserName === 'webkit' && !isLinux, 'WebKit doesn\'t handle the drop effect correctly outside of linux.'); + it.fixme(browserName === 'webkit' && isLinux && !headless, 'https://github.com/microsoft/playwright/issues/21646'); + it.fixme(browserName === 'chromium' && !isMac && !headless, 'https://github.com/microsoft/playwright/issues/21646'); it.slow(trace === 'on'); expect(await testIfDropped('copy', 'copy')).toBe(true);