Skip to main content

drain_attachments

Function drain_attachments 

Source
pub async fn drain_attachments(
    actx: &AsyncContext,
) -> Result<Vec<ScriptAttachment>, ScriptError>
Expand description

Drain the scenario’s queued attachments (and clear the queue). The BDD layer calls this after each scenario and forwards them into the test result so the reporters surface them.