Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

test: skip "should respect the drop effect" in headed (#21648)

Yury Semikhatskyc691d1f436eb
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);