Align traceability placement assertions with captured-view reveal
This commit is contained in:
@@ -175,9 +175,11 @@ fn mixed_view_show_keeps_its_context_for_every_diagram_app_and_target_layer() {
|
|||||||
let before = app.project().clone();
|
let before = app.project().clone();
|
||||||
let action = show_action(&mut app, target);
|
let action = show_action(&mut app, target);
|
||||||
send(&mut app, action);
|
send(&mut app, action);
|
||||||
|
// The existing RevealInDiagram action synchronizes the layer
|
||||||
|
// to the captured view, even if the prior perspective differed.
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
(app.active_diagram, app.layer, app.selected),
|
(app.active_diagram, app.layer, app.selected),
|
||||||
(Some(mixed), app_layer, target)
|
(Some(mixed), diagram_layer, target)
|
||||||
);
|
);
|
||||||
let added = app.project().diagrams[&mixed]
|
let added = app.project().diagrams[&mixed]
|
||||||
.nodes
|
.nodes
|
||||||
@@ -185,6 +187,7 @@ fn mixed_view_show_keeps_its_context_for_every_diagram_app_and_target_layer() {
|
|||||||
.find(|n| n.element == target)
|
.find(|n| n.element == target)
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.clone();
|
.clone();
|
||||||
|
assert_eq!(app.selected_node, Some(added.id));
|
||||||
let mut expected = before;
|
let mut expected = before;
|
||||||
expected
|
expected
|
||||||
.diagrams
|
.diagrams
|
||||||
|
|||||||
@@ -64,8 +64,9 @@ ordinary OA/SA edges, multiple traces, explicit hides plus disabled Trace kind,
|
|||||||
port owners and relation correspondence. Do not infer visible lines from
|
port owners and relation correspondence. Do not infer visible lines from
|
||||||
unfiltered edge_availability or confuse unrelated model traces with counterparts.
|
unfiltered edge_availability or confuse unrelated model traces with counterparts.
|
||||||
|
|
||||||
Native acceptance must start with an OA-only view and existing named SA
|
Native acceptance starts with an OA-owned mixed view, one already visible
|
||||||
counterpart, find/place it through the visible controls, see/select the trace,
|
correspondence pair and another existing named SA counterpart not yet placed.
|
||||||
|
Find/place it through the visible controls, see/select the additional trace,
|
||||||
inspect an absent-line visibility reason, Undo/Redo and Save/reopen. Inspect
|
inspect an absent-line visibility reason, Undo/Redo and Save/reopen. Inspect
|
||||||
toolbar/canvas space and chooser clarity at a realistic window size. Different
|
toolbar/canvas space and chooser clarity at a realistic window size. Different
|
||||||
help text or count tests alone do not resolve the user's comprehension complaint.
|
help text or count tests alone do not resolve the user's comprehension complaint.
|
||||||
|
|||||||
Reference in New Issue
Block a user