mirror of
https://github.com/openai/codex.git
synced 2026-11-15 21:50:46 +00:00
Prune TUI snapshots and consolidate behavior tests (#50808)
## What changed - Remove redundant snapshot fixtures and selected rendering test cases across the TUI. - Replace several full-output snapshots with direct assertions on messages, popup state, status indicators, and rendered content. - Consolidate slash-command aliases, command-prefix selection, category titles, and hook events into shared test loops. - Use shared snapshots for the setup import prompt and paginated transcript overlay across platforms. GitOrigin-RevId: 461e30ebaf70ba930d91a135d2fc598ee4f04f27
This commit is contained in:
@@ -648,10 +648,9 @@ fn selecting_within_an_edge_row_does_not_start_selection_autoscroll() {
|
||||
);
|
||||
assert_eq!(view.selected_text(&cells).as_deref(), Some("row"));
|
||||
}
|
||||
insta::assert_snapshot!(
|
||||
format!("horizontal_selection_at_edge_{edge}"),
|
||||
text(&selected)
|
||||
);
|
||||
if edge == 0 {
|
||||
insta::assert_snapshot!("horizontal_selection_at_edge_0", text(&selected));
|
||||
}
|
||||
let drag = MouseEvent {
|
||||
kind: MouseEventKind::Drag(MouseButton::Left),
|
||||
column: 3,
|
||||
|
||||
Reference in New Issue
Block a user