v0.2.6-pre.003-fix.001
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// file: crates/ksp-app-wallet-desk/tests/desktop_contract.rs
|
||||
// version: 2
|
||||
// version: 3
|
||||
|
||||
//! Desktop build, shell and Config-status contract audits for Wallet Desk.
|
||||
|
||||
@@ -85,3 +85,15 @@ fn shell_contains_wallet_navigation_datatable_and_lock_state_icons() {
|
||||
assert!(main.contains("ResizeObserver"));
|
||||
assert!(main.contains("simplebar"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn frontend_control_interactions_are_trace_logged_without_control_values() {
|
||||
let root = app_root();
|
||||
let main = read_text(root.join("frontend/ts/main.ts").as_path());
|
||||
assert!(main.contains("bindFrontendInteractions"));
|
||||
assert!(main.contains("Frontend control clicked"));
|
||||
assert!(main.contains("[role=\"tab\"]"));
|
||||
assert!(main.contains("shellAction: control.dataset.shellAction"));
|
||||
assert!(main.contains("viewId: control.dataset.view"));
|
||||
assert!(!main.contains("control.value"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user