diff --git a/tests/page/locator-query.spec.ts b/tests/page/locator-query.spec.ts index 504adf1d2a..47777667f2 100644 --- a/tests/page/locator-query.spec.ts +++ b/tests/page/locator-query.spec.ts @@ -90,7 +90,9 @@ it('should filter by regex and regexp flags', async ({ page }) => { await expect(page.locator('div', { hasText: /hElLo "world"/i })).toHaveText('Hello "world"'); }); -it('should support has:locator', async ({ page }) => { +it('should support has:locator', async ({ page, trace }) => { + it.skip(trace === 'on'); + await page.setContent(`