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

https://github.com/microsoft/playwright/issues/21646
This commit is contained in:
Yury Semikhatsky 2023-03-13 19:04:09 -07:00 committed by GitHub
parent 555cea38e7
commit c691d1f436
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);