Remove the T3 diagnostics

This commit is contained in:
aiongg
2026-11-17 17:09:47 +00:00
parent ef760ebdc4
commit dc62378b6a
2 changed files with 0 additions and 15 deletions
@@ -572,13 +572,6 @@ pub(crate) fn finish(ctx: &Context, container: Id, merged: Option<Merged>) {
let named = patches.iter().any(|patch| matches!(patch, LabelPatch::LabelledBy { node: id, .. } if *id == node.id));
report_unnamed(ctx, node.unnamed.clone().filter(|_| !named));
}
if label.activated {
eprintln!(
"DIAG T3 label activated: {:?} nodes {:?}",
label.text,
scope.nodes.iter().map(|node| (node.id, node.disabled, node.inner_stop.is_some())).collect::<Vec<_>>()
);
}
// A click on a label, as on any form label, moves focus to its one control.
if let (true, [only]) = (label.activated, &scope.nodes[..])
&& !only.disabled
@@ -149,14 +149,6 @@ fn declared_actions_are_handled(subject: &Subject) -> Result<(), String> {
|| signature(fixture.tree()) != before
|| fixture.focused() != focus;
if !acted {
eprintln!(
"DIAG T3 did-nothing: story {} node {:?} name {:?} focus before {focus:?} after {:?} outputs {}",
story.name,
key,
crate::testing::access::name(fixture.tree(), key),
fixture.focused(),
outputs.len()
);
return Err(format!("{}: {kind:?} on {:?} did nothing", story.name, fixture.tree().role_of(key)));
}
}