From 5588defa22fb120949ea90e245a8785e00835807 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Wed, 27 Apr 2022 15:48:38 -0700 Subject: [PATCH] test: content that does not work without useInnerText (#13781) --- tests/playwright-test/playwright.expect.text.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/playwright-test/playwright.expect.text.spec.ts b/tests/playwright-test/playwright.expect.text.spec.ts index 859b651cce..c110becb69 100644 --- a/tests/playwright-test/playwright.expect.text.spec.ts +++ b/tests/playwright-test/playwright.expect.text.spec.ts @@ -272,7 +272,7 @@ test('should support toHaveText with innerText', async ({ runInlineTest }) => { const { test } = pwt; test('pass', async ({ page }) => { - await page.setContent('
Text content
'); + await page.setContent('
Text content
'); const locator = page.locator('#node'); await expect(locator).toHaveText('Text content', { useInnerText: true }); });