Skip to content

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

test: update 'should handle custom dataTransfer' expectation (#20595)

Yury Semikhatskycf76d47e2222
diff --git a/tests/page/page-drag.spec.ts b/tests/page/page-drag.spec.ts
index ca6f9e7376..5cf3f8e375 100644
--- a/tests/page/page-drag.spec.ts
+++ b/tests/page/page-drag.spec.ts
@@ -391,9 +391,9 @@ async function trackEvents(target: ElementHandle) {
return eventsHandle;
}
-it('should handle custom dataTransfer', async ({ page, browserName, isLinux, headless }) => {
+it('should handle custom dataTransfer', async ({ page, browserName, isWindows }) => {
it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/18013' });
- it.skip(browserName === 'webkit' && isLinux && headless);
+ it.fixme(browserName === 'webkit' && isWindows);
await page.setContent(`<button draggable="true">Draggable</button>`);
const resultPromise = page.evaluate(() =>