@@ -150,16 +150,6 @@ fn hovering_elsewhere_deploys_nothing() {
|
||||
assert!(calls.borrow().is_empty());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn the_button_passthrough_deploys_the_tooltip() {
|
||||
let (cx, mut visual, calls) = tooltip_window();
|
||||
hover(&mut visual, point(px(50.), px(100.)));
|
||||
cx.executor().advance_clock(SHOW_DELAY);
|
||||
visual.run_until_parked();
|
||||
draw(&mut visual);
|
||||
assert_eq!(*calls.borrow(), vec!["button"]);
|
||||
}
|
||||
|
||||
/// An anchored tooltip hangs below the hovered parent's bottom edge with the
|
||||
/// spacing gap: it never covers the parent, wherever the cursor is inside it.
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user