Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
test: add test for color input click behavior (#34156)
Max Schmitt4e2d82e6c240
diff --git a/tests/library/capabilities.spec.ts b/tests/library/capabilities.spec.tsindex 03ff1d7feb..29328f3f80 100644--- a/tests/library/capabilities.spec.ts+++ b/tests/library/capabilities.spec.ts@@ -429,6 +429,22 @@ it('should not crash when clicking a label with a <input type="file"/>', {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', {annotation: {type: 'issue',