Skip to main content

assert_has_class

Function assert_has_class 

Source
pub fn assert_has_class(output: &RenderOutput, class: &str) -> bool
Expand description

Assert that a RenderOutput contains the specified CSS class.

Returns true if the class is present.