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 ←");