diff --git a/tests/platform/anchor/anchor.spec.ts b/tests/platform/anchor/anchor.spec.ts index 243315c0..3039ac76 100644 --- a/tests/platform/anchor/anchor.spec.ts +++ b/tests/platform/anchor/anchor.spec.ts @@ -14,4 +14,8 @@ test('anchor', async ({ page }) => { await page.waitForSelector('.testCreateAnchorAppend'); const testCreateAnchorAppend = page.locator('#testCreateAnchorAppend'); await expect(testCreateAnchorAppend).toHaveText('/platform/anchor/append-child'); + + await page.waitForSelector('.testInnerHtmlFirstChild'); + const testInnerHtmlFirstChild = page.locator('#testInnerHtmlFirstChild'); + await expect(testInnerHtmlFirstChild).toHaveText('#'); }); diff --git a/tests/platform/anchor/index.html b/tests/platform/anchor/index.html index e02bda2d..b2eb68da 100644 --- a/tests/platform/anchor/index.html +++ b/tests/platform/anchor/index.html @@ -51,7 +51,7 @@ } - +

Anchor