From f61383181c9723619c1205798042e67abba43102 Mon Sep 17 00:00:00 2001 From: David Mann Date: Sat, 21 Nov 2026 19:27:05 +0100 Subject: [PATCH] PR #14454: the Document Per Artboard dialog tests export every board Export Selected Artboards from main opens ticked while a board is selected, so the dialog wrote one file where the test expects one per board. Co-Authored-By: Claude Opus 5.5 --- .../ui-egui/src/menus/view_cmds/artboards_to_pdf_mode_tests.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/ui-egui/src/menus/view_cmds/artboards_to_pdf_mode_tests.rs b/crates/ui-egui/src/menus/view_cmds/artboards_to_pdf_mode_tests.rs index a98a659fbc4..5e15b281884 100644 --- a/crates/ui-egui/src/menus/view_cmds/artboards_to_pdf_mode_tests.rs +++ b/crates/ui-egui/src/menus/view_cmds/artboards_to_pdf_mode_tests.rs @@ -35,6 +35,8 @@ fn open(h: &mut H, path: &str) -> DialogId { let dialog = h.state().framework.dialogs.open_dialogs().into_iter().map(|d| d.id).find(|d| d.value().to_string() == want).unwrap(); h.run_steps(4); h.state_mut().framework.dialogs.set_json_field(&ctx, dialog, "path", json!(path)).unwrap(); + // Every board, not only the selected one: Export Selected Artboards opens ticked while a board is selected (#13647). + h.state_mut().framework.dialogs.set_json_field(&ctx, dialog, "artboards", serde_json::Value::Null).unwrap(); h.run_steps(4); dialog }