Input test: expect panel version 3 after the clock migration
CI / test (push) Failing after 52s

- The old 12-hour clock migration test now asserts the saved panel is version 3, not 2.
- The panel format version is bumped, so the test must match it.
This commit is contained in:
nandi committed 2026-11-29 12:30:15 -08:00
1 parent c790f96e58
commit 5e62f1b8cb
1 file changed
+1 -1
+1 -1
View File
@@ -554,7 +554,7 @@ test "a panel saved with the old 12-hour clock gets the Digital Clock with the s
assert_true(panel.contains("\"clock-digital\"") && !panel.contains("clock-digital12")) assert_true(panel.contains("\"clock-digital\"") && !panel.contains("clock-digital12"))
// The old Log out button became the launcher, which has Log out now. // The old Log out button became the launcher, which has Log out now.
assert_true(panel.contains("\"launcher\"") && !panel.contains("logout")) assert_true(panel.contains("\"launcher\"") && !panel.contains("logout"))
assert_true(panel.contains(":version 2")) assert_true(panel.contains(":version 3"))
// Only once: a format chosen afterwards sticks across restarts. // Only once: a format chosen afterwards sticks across restarts.
a.set_module_setting(a.slot_of("clock-digital"), "format", "24-hour") a.set_module_setting(a.slot_of("clock-digital"), "format", "24-hour")
assert_eq(boot().module_setting("clock-digital", "format"), Some("24-hour")) assert_eq(boot().module_setting("clock-digital", "format"), Some("24-hour"))