aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/tests/test_copy_link.py
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-10-05 13:13:54 +0200
committerChristophe Besson <cbesson@gmail.com>2026-10-05 13:13:54 +0200
commit92b7afcb186d7aaf475939d58a0385f408425eeb (patch)
treea0283cdda0e91cf1af2a1ff7b1a0a896d3a4d1f4 /packages/meshbay-hub/tests/test_copy_link.py
parent97fa4cf78a826050b9d1df0b484a7794861cda80 (diff)
downloadmeshbay-main.tar.gz
feat(hub): say "N groups unreachable" on Search for a few seconds, not for goodHEAD0.18main
The line sat above the results for as long as the page was open. It is now said once a cross-group pass is over, for five seconds, in the same passing note as "Link copied" — moved out of copy-link.js into note.js (`say(text, ms)`), one note at a time for the whole page. The `.search-unreachable` rule goes with the line it styled. The copy-link probe now also checks in Chrome that the note goes by itself. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-hub/tests/test_copy_link.py')
-rw-r--r--packages/meshbay-hub/tests/test_copy_link.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/meshbay-hub/tests/test_copy_link.py b/packages/meshbay-hub/tests/test_copy_link.py
index 7115d04..22e56e7 100644
--- a/packages/meshbay-hub/tests/test_copy_link.py
+++ b/packages/meshbay-hub/tests/test_copy_link.py
@@ -96,3 +96,8 @@ def test_the_link_is_the_hubs_not_the_pages():
source = (STATIC / "copy-link.js").read_text(encoding="utf-8")
assert "platform.hubOrigin() + '/#' + groupLinkRoute(" in source
assert "location.origin" not in source
+
+
+def test_the_note_goes_by_itself(cases):
+ c = cases["note goes"]
+ assert c["up_after_copy"] is True and c["up_later"] is False