diff --git a/crates/ui-widgets/tests/it/text/number_presentation.rs b/crates/ui-widgets/tests/it/text/number_presentation.rs index 5ba01b8f88..ccadee408e 100644 --- a/crates/ui-widgets/tests/it/text/number_presentation.rs +++ b/crates/ui-widgets/tests/it/text/number_presentation.rs @@ -250,6 +250,7 @@ fn the_caret_follows_the_value_wherever_the_field_puts_it() { let field = boxes.borrow()[0]; let runs = painted_runs(&mut fixture); let value = shown(&runs, field, "100").rect; + assert!(fixture.focused().is_none(), "the resting paint is the unfocused field's: {field:?}"); fixture.key(Key::Tab, Modifiers::NONE); fixture.settle(); fixture.key(Key::End, Modifiers::NONE);