Fix CLI command preview scope
This commit is contained in:
1 parent
edc710cbd2
commit
d7f2f04226
2 files changed
+9
-2
No files matched your search
@@ -124,6 +124,13 @@ async fn test_ui_spa_index_and_stylesheet_endpoints() {
|
||||
assert!(html.contains("openClientExportModal"));
|
||||
assert!(html.contains("openAddPeerModal"));
|
||||
|
||||
// CLI console global preview and handler exposure
|
||||
assert!(html.contains("window.updateCliCommandPreview"));
|
||||
assert!(html.contains("window.onCliCommandChange"));
|
||||
assert!(html.contains("window.onCliSubcommandChange"));
|
||||
assert!(html.contains("window.onCliSubSubcommandChange"));
|
||||
assert!(html.contains("window.executeCliConsoleCommand"));
|
||||
|
||||
// Peer enrollment must submit the selected Network UUID as network_id,
|
||||
// never the display name or CIDR.
|
||||
assert!(html.contains(r#"value="${n.id}""#));
|
||||
|
||||
Reference in new issue
Block a user