fix(design): 按概念图重排面板层级并验证真实组件
This commit is contained in:
@@ -37,6 +37,18 @@ import Foundation
|
||||
await sampler.setProcessVisible(true)
|
||||
let reopened = await sampler.sample()
|
||||
precondition(reopened.processes == nil)
|
||||
let store = MetricsStore()
|
||||
store.setPanelVisible(true)
|
||||
for _ in 0..<40 {
|
||||
if store.snapshot.processes != nil { break }
|
||||
try? await Task.sleep(for: .milliseconds(200))
|
||||
}
|
||||
precondition(store.snapshot.processes?.readable ?? 0 > 0)
|
||||
store.setPanelVisible(false)
|
||||
precondition(store.snapshot.processes == nil)
|
||||
try? await Task.sleep(for: .milliseconds(2200))
|
||||
precondition(store.snapshot.processes == nil)
|
||||
store.togglePause()
|
||||
print("PASS: process CPU boundaries/live baseline, GPU range, VPN total exclusion, bounded interface history, visibility reset")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user