From 73da1f985ee2621ce4399cf298035cb90bbb2f0a Mon Sep 17 00:00:00 2001 From: Konrad Neitzel Date: Tue, 24 Nov 2026 14:43:34 +0100 Subject: [PATCH] Verify all archive command suggestions and clean initial validation --- .../idea/ArchiveWorkflowProbe.java | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/integration-tests/idea/ArchiveWorkflowProbe.java b/integration-tests/idea/ArchiveWorkflowProbe.java index b6e9c38..7cf3c58 100644 --- a/integration-tests/idea/ArchiveWorkflowProbe.java +++ b/integration-tests/idea/ArchiveWorkflowProbe.java @@ -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 ←");