From 4fbdf6f385fa268d41074459f7a4728e5e1e9b11 Mon Sep 17 00:00:00 2001 From: Codex-ytr83r Date: Tue, 22 Sep 2026 23:17:00 -0700 Subject: [PATCH] Correct traceability test type and enabled menu assertions --- .../src/app/architecture_authoring/tests/traceability.rs | 2 +- crates/oa-desktop/src/app/traceability_navigation_tests.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/oa-desktop/src/app/architecture_authoring/tests/traceability.rs b/crates/oa-desktop/src/app/architecture_authoring/tests/traceability.rs index 657078cd..9298450d 100644 --- a/crates/oa-desktop/src/app/architecture_authoring/tests/traceability.rs +++ b/crates/oa-desktop/src/app/architecture_authoring/tests/traceability.rs @@ -82,7 +82,7 @@ fn traceability_default_does_not_change_creation_or_ordinary_picker_guards() { let port = Id::new_v4(); project.elements.insert( port, - Element { + oa_core::Element { id: port, alias: "legacy_port".into(), name: "Port".into(), diff --git a/crates/oa-desktop/src/app/traceability_navigation_tests.rs b/crates/oa-desktop/src/app/traceability_navigation_tests.rs index 1b5fc681..80b34948 100644 --- a/crates/oa-desktop/src/app/traceability_navigation_tests.rs +++ b/crates/oa-desktop/src/app/traceability_navigation_tests.rs @@ -43,6 +43,7 @@ fn show_action(app: &mut App, element: Id) -> Message { _ => None, }) .expect("eligible real menu action") + .expect("eligible menu action must be enabled") } #[test]