liveScreenshotModes top-level constant

List<String> const liveScreenshotModes

The screenshots modes playbooks.run takes, from most to least saved.

marked saves the screenshot() steps. auto saves them too, and every step of a playbook that has none. all saves every step and the screenshot() steps. failures saves only the screen of a failing step, which every mode but off saves. off saves nothing.

Implementation

const List<String> liveScreenshotModes = [
  'all',
  'auto',
  'marked',
  'failures',
  'off',
];