scene method

PlaybookStep scene(
  1. String title,
  2. List<PlaybookStep> steps
)

Groups steps under title, which leads their captions and nests their results in the report.

Implementation

PlaybookStep scene(String title, List<PlaybookStep> steps) =>
    PlaybookGroupStep(
      title,
      (PlaybookActor actor, PlaybookStepContext context) =>
          runSteps(actor, steps, context),
    );