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

Headless linux was fixed by recent webkit roll, but it turns out the
test has been failing on webkit windows too.

#18013
This commit is contained in:
Yury Semikhatsky 2023-02-02 10:26:47 -08:00 committed by GitHub
parent b803128a81
commit cf76d47e22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(() =>