ui-patterns: the multi-selection trial closes the row menu its secondary press opened before the next pick

This commit is contained in:
bflatastic
2026-11-22 08:08:51 +07:00
parent dc534e738c
commit 48534a279c
@@ -192,6 +192,9 @@ fn multi_selection_ranges_toggles_and_reports_select_only_for_a_plain_pick() {
);
assert_eq!(selects(), 0, "a secondary press is no pick in {view:?}");
// The secondary press opened the row menu over the rows: Escape closes it before the next pick.
fixture.key(Key::Escape, Modifiers::NONE);
fixture.idle(2);
click_preset(&mut fixture, 3, Modifiers::COMMAND);
events.borrow_mut().clear();
secondary_click_preset(&mut fixture, 3);