mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-12 11:50:22 +03:00
test: skip "should support has:locator" on tracing bots (#11876)
This commit is contained in:
parent
afc4b505aa
commit
af4944388f
@ -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"');
|
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(`<div><span>hello</span></div><div><span>world</span></div>`);
|
await page.setContent(`<div><span>hello</span></div><div><span>world</span></div>`);
|
||||||
await expect(page.locator(`div`, {
|
await expect(page.locator(`div`, {
|
||||||
has: page.locator(`text=world`)
|
has: page.locator(`text=world`)
|
||||||
|
Loading…
Reference in New Issue
Block a user