aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/tests/test_spa_ordering.py
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-09-23 15:21:30 +0200
committerChristophe Besson <cbesson@gmail.com>2026-09-23 15:21:30 +0200
commit3d8c1acf785ff7389a68cc515a5c9324dee8de41 (patch)
tree1b7b8c4bf94592007454057bef84d9ba70de2881 /packages/meshbay-hub/tests/test_spa_ordering.py
parent9f3445d03f106ee3ebd8b4b1bd546a08d9169af7 (diff)
downloadmeshbay-3d8c1acf785ff7389a68cc515a5c9324dee8de41.tar.gz
feat(hub): right-click menu in the Files tab
The toolbar's actions on the row under the pointer, sharing one action list with the toolbar — which keeps showing what does not apply, disabled, while the menu leaves it out. A count only where more than one item is concerned. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-hub/tests/test_spa_ordering.py')
-rw-r--r--packages/meshbay-hub/tests/test_spa_ordering.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/meshbay-hub/tests/test_spa_ordering.py b/packages/meshbay-hub/tests/test_spa_ordering.py
index ba042d1..1c36d09 100644
--- a/packages/meshbay-hub/tests/test_spa_ordering.py
+++ b/packages/meshbay-hub/tests/test_spa_ordering.py
@@ -273,7 +273,9 @@ def test_a_multi_file_download_waits_for_each_picker():
# Anchored on the loop rather than on the markup around it: the toolbar
# moved from a dropdown to icon buttons and took the old wrapper with it,
# while the property under test — one picker at a time — did not change.
- block = app[app.index("for (const e of selectedFiles)"):]
+ # The loop is over `files` since the toolbar and the right-click menu
+ # share one action list.
+ block = app[app.index("for (const e of files)"):]
block = block[:block.index("\n")]
assert "await downloadFile(e)" in block, (
"downloads are fired without awaiting again; only the first will ask "