test: add test for color input click behavior (#34156)
This commit is contained in:
parent
36478f250a
commit
4e2d82e6c2
|
|
@ -429,6 +429,22 @@ it('should not crash when clicking a label with a <input type="file"/>', {
|
||||||
expect(fileChooser.page()).toBe(page);
|
expect(fileChooser.page()).toBe(page);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it('should not crash when clicking a color input', {
|
||||||
|
annotation: {
|
||||||
|
type: 'issue',
|
||||||
|
description: 'https://github.com/microsoft/playwright/issues/33864'
|
||||||
|
}
|
||||||
|
}, async ({ page, browserMajorVersion, browserName }) => {
|
||||||
|
it.skip(browserName === 'firefox' && browserMajorVersion < 135);
|
||||||
|
|
||||||
|
await page.setContent('<input type="color">');
|
||||||
|
const input = page.locator('input');
|
||||||
|
|
||||||
|
await expect(input).toBeVisible();
|
||||||
|
await input.click();
|
||||||
|
await expect(input).toBeVisible();
|
||||||
|
});
|
||||||
|
|
||||||
it('should not auto play audio', {
|
it('should not auto play audio', {
|
||||||
annotation: {
|
annotation: {
|
||||||
type: 'issue',
|
type: 'issue',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue