From a811214660a4b8a36a5df6bdc9db1eb96ba4a12f Mon Sep 17 00:00:00 2001 From: JC Brand Date: Mon, 6 Nov 2023 22:34:52 +0100 Subject: [PATCH] testing --- src/plugins/chatview/tests/styling.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/plugins/chatview/tests/styling.js b/src/plugins/chatview/tests/styling.js index 89a7c0a2c7..03046e470e 100644 --- a/src/plugins/chatview/tests/styling.js +++ b/src/plugins/chatview/tests/styling.js @@ -200,6 +200,17 @@ describe("An incoming chat Message", function () { console.warn(msg_el.innerHTML.replace(//g, '')); console.warn("---------------------------------------"); + let x = false; + setTimeout(() => { + x = true; + }, 1000); + await u.waitUntil(x); + + console.warn("---------------------------------------"); + console.warn("msg_el.innerHTML.replace(//g, '')"); + console.warn(msg_el.innerHTML.replace(//g, '')); + console.warn("---------------------------------------"); + await u.waitUntil(() => msg_el.innerHTML.replace(//g, '') === 'Go to ~https://conversejs.org~now '+ '_please_', 1000);