From 9f3445d03f106ee3ebd8b4b1bd546a08d9169af7 Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Mon, 21 Sep 2026 19:53:33 +0200 Subject: fix: ask in the page instead of native confirm/alert A native confirm() or alert() leaves the desktop client unable to type until the window is refocused. ask.js draws both in the page; the SPA test now bans all three browser dialogs. Co-Authored-By: Claude Opus 5 --- packages/meshbay-hub/tests/test_hook_ordering.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'packages/meshbay-hub/tests/test_hook_ordering.py') diff --git a/packages/meshbay-hub/tests/test_hook_ordering.py b/packages/meshbay-hub/tests/test_hook_ordering.py index d03cdf5..d5ffcfe 100644 --- a/packages/meshbay-hub/tests/test_hook_ordering.py +++ b/packages/meshbay-hub/tests/test_hook_ordering.py @@ -52,6 +52,8 @@ STATIC_FILES = [ # The shared pop-up menu (docs/playlists.md ยง10.1), reached from the media # views rather than imported by the shell. "menu.js", "playlist-menu.js", + # The page's own confirm/alert, mounted outside the app tree. + "ask.js", ] pytestmark = pytest.mark.skipif(not APP.exists(), reason="SPA sources unavailable") -- cgit v1.2.3