From 3a24e88e6116cf6d9f5da41dfa1348bb90546e6c Mon Sep 17 00:00:00 2001 From: Dmitry Gozman Date: Fri, 4 Nov 2022 10:39:51 -0700 Subject: [PATCH] test: enable "should not crash when force-clicking hidden input" on chromium (#18576) Fixed by the latest roll. --- tests/page/page-click-scroll.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/page/page-click-scroll.spec.ts b/tests/page/page-click-scroll.spec.ts index 62afdc3e18..ebe077cfd9 100644 --- a/tests/page/page-click-scroll.spec.ts +++ b/tests/page/page-click-scroll.spec.ts @@ -79,9 +79,9 @@ it('should scroll into view display:contents with position', async ({ page, brow expect(await page.evaluate('window._clicked')).toBe(true); }); -it('should not crash when force-clicking hidden input', async ({ page, browserName }) => { +it('should not crash when force-clicking hidden input', async ({ page, browserName, channel, browserMajorVersion }) => { it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/18183' }); - it.fixme(browserName === 'chromium'); + it.skip(browserName === 'chromium' && !!channel && browserMajorVersion < 109); await page.setContent(``); const error = await page.locator('input').click({ force: true, timeout: 2000 }).catch(e => e);