Fix test expectation: maximize restore returns pre-snap geometry

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-15 20:15:48 +02:00
parent ca13abc9b7
commit 4cc33cf62c

View File

@@ -352,7 +352,8 @@ def main():
app.send({"type": "list_windows", "request_id": "lrest"}) app.send({"type": "list_windows", "request_id": "lrest"})
wre = app.recv_until("window_list") wre = app.recv_until("window_list")
restored = next(w for w in wre["windows"] if w["id"] == sw_open["id"]) restored = next(w for w in wre["windows"] if w["id"] == sw_open["id"])
check("alt+m återställer (bokstavs-bind)", 45 <= restored["width"] <= 55, # Återställningen går till URSPRUNGSgeometrin (före snappen), ~82
check("alt+m återställer (bokstavs-bind)", 75 <= restored["width"] <= 90,
f"geometri: {restored}") f"geometri: {restored}")
app.send({"type": "close_window", "window_id": sw_open["id"]}) app.send({"type": "close_window", "window_id": sw_open["id"]})