From c695fadb850acf99f44ab1dd7c206e54212a364d Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Fri, 22 Dec 2023 14:56:55 -0800 Subject: [PATCH] Skip test on unsupported platforms --- tests/page/page-fill.spec.ts | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/tests/page/page-fill.spec.ts b/tests/page/page-fill.spec.ts index d2071c4c00a9e..0704de327a8d3 100644 --- a/tests/page/page-fill.spec.ts +++ b/tests/page/page-fill.spec.ts @@ -100,6 +100,8 @@ for (const [type, value] of Object.entries({ })) { 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(`