use super::Fill;
use crate::test_support::window::seated;
use crate::ui::Column;
#[test]
fn going_to_a_box_selects_the_row_moves_to_its_column_and_is_taken_once() {
let mut model = seated();
model.column = Column::Channels;
model.fill_in("another conversation", Fill::Reason);
assert_eq!(model.conversation.as_deref(), Some("another conversation"));
assert_eq!(model.column, Column::Conversation);
assert_eq!(model.filling(), Some(Fill::Reason));
assert_eq!(model.filling(), None, "taken, not read");
}
#[test]
fn a_navigation_composes_no_gesture_at_all() {
let mut model = seated();
model.fill_in("20260830T051200Z-a1b2", Fill::Arming);
assert!(
model.outbox.is_empty(),
"going to a box asks for nothing: {:?}",
model.outbox
);
assert_eq!(model.filling(), Some(Fill::Arming));
}