Verify all archive command suggestions and clean initial validation

This commit is contained in:
2026-11-24 14:43:34 +01:00
parent 98d37c6c3d
commit 73da1f985e
@@ -206,6 +206,26 @@ public final class ArchiveWorkflowProbe implements StartupActivity.DumbAware {
step("Build and Refresh discovered Archiver example");
tab("Command bindings");
await(() -> fx(() -> ((ListView<?>) pane.lookup("#command-bindings")).getItems().size() == 22));
click(pane, "Discover / Validate Commands");
await(
() ->
fx(
() ->
((Label) pane.lookup("#command-status"))
.getText()
.contains("No detected binding errors.")));
if (!fx(
() ->
pane.lookupAll(".combo-box").stream()
.anyMatch(
n ->
n instanceof ComboBox<?> choices
&& choices.getItems().size() == 22
&& choices
.getItems()
.containsAll(java.util.List.of("open", "openReadOnly", "trash")))))
throw new AssertionError("Incomplete Command getter suggestions");
step("22 Command getters discovered; initial binding validation clean");
interactive("initial", "Beispielarchiv geöffnet");
click(pane, "Stop preview");
select("command-bindings", "open ←");