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: skip highlight tests on != default mode (#12471)
Max Schmittcb5b4cf06b6f
diff --git a/tests/page/locator-highlight.spec.ts b/tests/page/locator-highlight.spec.tsindex caf41a5a8a..a1c451df8f 100644--- a/tests/page/locator-highlight.spec.ts+++ b/tests/page/locator-highlight.spec.ts@@ -16,6 +16,8 @@import { test as it, expect } from './pageTest';+it.skip(({ mode }) => mode !== 'default', 'Highlight element has a closed shadow-root on != default');+it('should highlight locator', async ({ page }) => {await page.setContent(`<input type='text' />`);await page.locator('input').highlight();