mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
test: enable "should not crash when force-clicking hidden input" on chromium (#18576)
Fixed by the latest roll.
This commit is contained in:
parent
6fef227f43
commit
3a24e88e61
@ -79,9 +79,9 @@ it('should scroll into view display:contents with position', async ({ page, brow
|
|||||||
expect(await page.evaluate('window._clicked')).toBe(true);
|
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.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>`);
|
await page.setContent(`<input type=hidden>`);
|
||||||
const error = await page.locator('input').click({ force: true, timeout: 2000 }).catch(e => e);
|
const error = await page.locator('input').click({ force: true, timeout: 2000 }).catch(e => e);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user