diff --git a/tests/lua_api.rs b/tests/lua_api.rs index 8af0c04..10829bf 100644 --- a/tests/lua_api.rs +++ b/tests/lua_api.rs @@ -571,6 +571,12 @@ mod output { local focus_stack = Pinnacle.output.get_focused():keyboard_focus_stack() assert(#focus_stack == 5, "focus stack len != 5") + print(focus_stack[1].id) + print(focus_stack[2].id) + print(focus_stack[3].id) + print(focus_stack[4].id) + print(focus_stack[5].id) + // FIXME: the below statement failed in github CI, idk why assert(focus_stack[1].id == 0, "focus stack at 1 id != 0") assert(focus_stack[2].id == 1, "focus stack at 2 id != 1") assert(focus_stack[3].id == 2, "focus stack at 3 id != 2")