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.