test(e2e): the bar scenario's mouse command is a plain string

`MouseMessage::Command(String)` is an untagged variant, so
`"on_middle_click": {"Command": ...}` in the scenario's bar configuration
did not deserialize and the bar exited at start ("data did not match any
variant of untagged enum MouseMessage"). The value is the string itself.

Found by the Windows gate on candidate 5 (win-e2e, S/e2e-win/gate-cand5.md,
bar section; the fix is its bar-fix.diff). Verified: ruff clean; not run.
This commit is contained in:
LGUG2Z committed 2026-11-05 15:03:26 -08:00
1 parent 2d6919438b
commit fdd9f0891d
1 file changed
+2 -1
+2 -1
View File
@@ -55,7 +55,8 @@ CONFIG = {
# bar's PowerShell session
"mouse": {
"on_extra2_click": {"message": {"type": "Retile"}},
"on_middle_click": {"Command": "echo komorebi-bar-e2e"},
# `MouseMessage::Command(String)` is untagged: a plain string, not {"Command": ...}
"on_middle_click": "echo komorebi-bar-e2e",
},
}