From b00fbdb3889859a777b06966cb57a98c7cc4c90f Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Fri, 22 Dec 2023 16:02:23 -0800 Subject: [PATCH] test: update expectations for WebKit Windows (#28774) Reference https://github.com/microsoft/playwright/issues/28726 --- tests/page/page-fill.spec.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/tests/page/page-fill.spec.ts b/tests/page/page-fill.spec.ts index 9e90d94ecd..0704de327a 100644 --- a/tests/page/page-fill.spec.ts +++ b/tests/page/page-fill.spec.ts @@ -98,8 +98,10 @@ for (const [type, value] of Object.entries({ 'range': '42', 'week': '2020-W50' })) { - it(`input event.composed should be true and cross shadow dom boundary - ${type}`, async ({ page, server, browserName }) => { + it(`input event.composed should be true and cross shadow dom boundary - ${type}`, async ({ page, server, browserName, isWindows }) => { it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/28726' }); + it.skip(browserName !== 'chromium' && ['month', 'week'].includes(type), 'Some browser/platforms do not implement certain input types'); + it.skip(browserName === 'webkit' && isWindows && ['color', 'date', 'time', 'datetime-local'].includes(type), 'Some browser/platforms do not implement certain input types'); await page.goto(server.EMPTY_PAGE); await page.setContent(`