Verify all archive command suggestions and clean initial validation
This commit is contained in:
@@ -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 ←");
|
||||
|
||||
Reference in New Issue
Block a user