From 2123ecd397ee68144874e80df7eee226a6ec6138 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Sun, 15 Nov 2026 10:44:37 -0800 Subject: [PATCH] Properties: the Graph section test expects the Graph Type dialog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Graph Type… now opens Object › Graph › Type…'s own dialog (graphType) since main made Graph Type a dialog of its own, so the test checks that kind and the graph's column type instead of the generic command dialog. --- crates/ui-egui/src/panels/properties/tests.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/ui-egui/src/panels/properties/tests.rs b/crates/ui-egui/src/panels/properties/tests.rs index b8f702be83..7411216276 100644 --- a/crates/ui-egui/src/panels/properties/tests.rs +++ b/crates/ui-egui/src/panels/properties/tests.rs @@ -2061,8 +2061,7 @@ fn one_selected_graph_has_a_graph_section_whose_buttons_open_the_graph_dialogs() app.ui.dialog.take().unwrap_or_else(|| panic!("{label:?} opened no dialog")) }; let d = press(&mut app, "Graph Type…"); - assert_eq!((d.kind.as_str(), d.str("__command")), ("command", "graph.setType".to_string())); - assert_eq!(d.str("type"), "column"); + assert_eq!((d.kind.as_str(), d.str("type")), (crate::dialogs::graph_type::KIND, "column".to_string())); assert_eq!(press(&mut app, "Graph Data…").kind, crate::dialogs::graph_data::KIND); assert_eq!(press(&mut app, "Column…").kind, crate::dialogs::graph_design::COLUMN); }