step property

  1. @override
ReportActionHandler<StepMessage> get step

Implementation

@override
ReportActionHandler<StepMessage> get step => ReportActionHandler(
      onFinished: ([message]) async {
        if (message == null) {
        } else {
          final attachments =
              message.attachments!.map((e) => e.data).toList();
          _testSuites[_testSuiteIndex]
              .testCases[_testCaseIndex]
              .stepResults
              .add(TestStep(
                  name: message.name,
                  stepResult: message.result!,
                  attachments: attachments));
        }
      },
    );