test: enable "should not crash when force-clicking hidden input" on chromium (#18576)

Fixed by the latest roll.
This commit is contained in:
Dmitry Gozman 2022-11-04 10:39:51 -07:00 committed by GitHub
parent 6fef227f43
commit 3a24e88e61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(`<input type=hidden>`);
const error = await page.locator('input').click({ force: true, timeout: 2000 }).catch(e => e);