Cover the mixed-keychain regroup refusal headlessly

The two-keychain branch of VaultViewModel.RegroupChosenHosts had no test:
7.6a's manual walk was the only thing asserting that a mixed set gets the
sentence instead of the picker. A ShellFlowTests case now ticks a host in
each of two vaults, reads the refusal off the status line, and shows the
same command opening the picker once the set is one keychain's again.
Check 7.6a cites the test and keeps only the popup wiring for the eye.
This commit is contained in:
2026-08-08 22:19:46 +02:00
parent d32f5609e3
commit 009b35e069
2 changed files with 60 additions and 4 deletions
+6 -4
View File
@@ -984,10 +984,12 @@ across that line would leave everyone else in the shared vault seeing a machine
**Failure means:** the set's write is `ChangingTheGroupOfTheChosenHosts_FilesThemAllAtOnce` again — one
command reads the whole set, so "filed one of three" has no half-gesture to hide in the way the old drag's
payload did. The refusal, though, is asserted by **nothing automated at all**: `VaultViewModel.RegroupChosenHosts`
counts the distinct vaults and no test raises it, so this check is the only thing between that sentence and
silence. A panel that does open over a mixed set is the worse half — it would offer one keychain's groups
for another keychain's machines, which is the half-filed set the refusal exists to prevent.
payload did. The refusal is covered headlessly too:
`RegroupingHostsChosenAcrossTwoKeychains_IsRefusedBeforeThePickerOpens` ticks a host in each of two
keychains and asserts no picker opens and the sentence is on the status line. What is left for the eye is
7.9's wiring, as in 7.6 — and a panel that does open over a mixed set is the worse half: it would offer one
keychain's groups for another keychain's machines, which is the half-filed set the refusal exists to
prevent.
### 7.7 A click still selects, and a double click still connects