registerCustomStep method

void registerCustomStep(
  1. TestStepBuilder step
)

Registers a custom step with the registry. If a custom step is already registered with the same ultimate id then it will be replaced with this. If a built in step is registered with the same ultimate id then this will shadow the built in step such that this step will now be used in place of the built in step.

Implementation

void registerCustomStep(TestStepBuilder step) =>
    _customSteps[step.availableTestStep.id] = step;