From a1c6bcde7fac0fe3c6a33f140fc133a0f65542f3 Mon Sep 17 00:00:00 2001 From: Fons van der Plas Date: Wed, 28 Feb 2024 17:34:33 +0100 Subject: [PATCH] Update common.js --- test/frontend/helpers/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/frontend/helpers/common.js b/test/frontend/helpers/common.js index b911e08654..c2739c6b28 100644 --- a/test/frontend/helpers/common.js +++ b/test/frontend/helpers/common.js @@ -141,7 +141,7 @@ export const waitForContentToBecome = async (/** @type {puppeteer.Page} */ page, targetContent ); } catch(e) { - console.error("Failed! Current content:", JSON.stringify(await getTextContent(page, selector)), JSON.stringify(targetContent)) + console.error("Failed! Current content: ", JSON.stringify(await getTextContent(page, selector)), "Expected content: ", JSON.stringify(targetContent)) throw(e) } return getTextContent(page, selector);