From ca0a7e0cd15bdbd553e80a7bf651acb4ba795658 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 2 Oct 2026 21:41:06 -0700 Subject: README: where the White Noise code lives; the live UI test waits out a relay reconnect Co-Authored-By: Claude Fable 5.1 --- tools/marmot-chat-test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/marmot-chat-test.js') diff --git a/tools/marmot-chat-test.js b/tools/marmot-chat-test.js index da56fba..1078bec 100644 --- a/tools/marmot-chat-test.js +++ b/tools/marmot-chat-test.js @@ -144,7 +144,8 @@ try { await click('button', 'Join'); check('the group opens', !!await waitText('2 members')); wn(['messages', 'send', gid, 'hello from white noise'], alice); - const arrived = !!await waitText('hello from white noise'); + // on public relays a dropped socket is only noticed by the watchdog's next pass + const arrived = !!await waitText('hello from white noise', SITE ? 120000 : 20000); check('their message arrives', arrived); if (!arrived && process.env.DEBUG) { const chat = (wn(['chats', 'list'], alice).chats || []).find((c) => c.group_id === gid) || {}; -- cgit v1.2.3