You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot validate real-time streaming UX elements like:
VU meters responding to audio
Progress bars advancing
State indicators transitioning
Latency between events
Proposed API
pubstructStreamingUxValidator{states:Vec<(String,Instant)>,}implStreamingUxValidator{/// Start tracking a state indicator elementpubasyncfntrack_state(page:&Page,selector:&str) -> ProbarResult<Self>;/// Assert state sequence occurred in orderpubfnassert_state_sequence(&self,expected:&[&str]) -> ProbarResult<()>;/// Assert VU meter level changes (element width/height changes)pubasyncfnassert_level_changing(page:&Page,selector:&str,property:&str,// "width" or "height"min_change_percent:f32,timeout_ms:u32,) -> ProbarResult<()>;/// Assert progress advances from 0 toward 100pubasyncfnassert_progress_advancing(page:&Page,selector:&str,timeout_ms:u32,) -> ProbarResult<()>;/// Assert transition latency is within boundspubfnassert_transition_latency(&self,from_state:&str,to_state:&str,max_ms:u32,) -> ProbarResult<()>;}
Use Cases
Validate VU meter responds to audio input
Validate state indicator shows correct states
Validate chunk progress bar fills during recording
Part of Epic #14
Problem
Cannot validate real-time streaming UX elements like:
Proposed API
Use Cases