Skip to content

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

fix(test): disable failing drag and drop test on mac and windows (#5575)

Joel Einbinder841264c94d8c
diff --git a/test/page-drag.spec.ts b/test/page-drag.spec.ts
index 272bf9c090..55b317298b 100644
--- a/test/page-drag.spec.ts
+++ b/test/page-drag.spec.ts
@@ -119,8 +119,9 @@ describe('Drag and drop', (test, {browserName}) => {
});
});
- it('should respect the drop effect', (test, {browserName}) => {
+ it('should respect the drop effect', (test, {browserName, platform}) => {
test.fixme(browserName === 'chromium', 'Chromium doesn\'t let users set dropEffect on our fake data transfer');
+ test.fixme(browserName === 'webkit' && platform !== 'linux', 'WebKit doesn\'t handle the drop effect correctly outside of linux.');
test.fixme(browserName === 'firefox');
}, async ({context}) => {
const page = await context.newPage();