| | |
| | | require(root.get("lastKeyboardCommand") == expected_key_sequence[-1], "last keyboard command must match the alignment target") |
| | | require(root.get("selectedAppGroupIndex") == target_app_index, "keyboard focus must select the target appGroupIndex") |
| | | require(item.get("isSelected") is True, "target App Shelf item must expose selected state") |
| | | require("selected" in item.get("visualStates", []), "target App Shelf item must expose selected visual state") |
| | | require("selectedVisualSuppressed" in item.get("visualStates", []), "non-hovered keyboard-selected App Shelf item must suppress selected visual state") |
| | | cards = column.get("cards", []) |
| | | require(cards, "target Waterfall column must include cards") |
| | | require(root.get("selectedWindowID") == cards[0].get("windowID"), "right-arrow focus into target column must select its first window") |