Skip test for older Firefox versions

This commit is contained in:
Max Schmitt 2025-02-03 12:44:15 +01:00 committed by GitHub
parent ad4719f129
commit 483db297d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -434,7 +434,9 @@ it('should not crash when clicking a color input', {
type: 'issue',
description: 'https://github.com/microsoft/playwright/issues/33864'
}
}, async ({ page }) => {
}, async ({ page, browserMajorVersion, browserName }) => {
it.skip(browserName === 'firefox' && browserMajorVersion < 135);
await page.setContent('<input type="color">');
const input = page.locator('input');