expectPlaybookPassed function

void expectPlaybookPassed(
  1. PlaybookReport report
)

Fails the test with the playbook's report when report didn't pass.

Implementation

void expectPlaybookPassed(PlaybookReport report) {
  expect(report.passed, isTrue, reason: '\n$report');
}