addStep method

void addStep(
  1. StepInput step,
  2. ExecutableStepData stepKind
)

Appends a configured test step and its corresponding metadata classification to the scenario pipeline.

Maintains parallel alignment between the executable logic (step) and its structural representation (stepKind) within the acceptance criteria.

Implementation

void addStep(StepInput step, ExecutableStepData stepKind) {
  steps.add(step);
  stepKinds.add(stepKind);
}