mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
test: skip highlight tests on != default mode (#12471)
This commit is contained in:
parent
77db87b6f5
commit
cb5b4cf06b
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user