From a86adcd1817895e3843ef34ed42c02018b16212c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=96R=C3=96K=20Attila?= Date: Mon, 28 Oct 2024 11:33:33 +0100 Subject: [PATCH] Follow API change in test with reverted workaround too --- web/packages/selfhosted/test/polyfill/spoofing/test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/packages/selfhosted/test/polyfill/spoofing/test.ts b/web/packages/selfhosted/test/polyfill/spoofing/test.ts index ab7816126131..ac0e6f1cb94f 100644 --- a/web/packages/selfhosted/test/polyfill/spoofing/test.ts +++ b/web/packages/selfhosted/test/polyfill/spoofing/test.ts @@ -16,7 +16,9 @@ describe("Spoofing is not easily detectable", () => { await injectRuffleAndWait(browser); await browser.$("").waitForExist(); - const actual = await browser.$("#test-container").getHTML(false); + const actual = await browser + .$("#test-container") + .getHTML({ includeSelectorTag: false, pierceShadowRoot: false }); const expected = fs.readFileSync( `${import.meta.dirname}/expected.html`, "utf8",