isUserActionStep function

bool isUserActionStep(
  1. TestStep step
)

Stateless classification rules shared by execution and screenshot paths.

Keeping these rules outside the runner makes the orchestration class focus on lifecycle coordination while preserving one canonical definition for action, assertion, and optional-step semantics.

Implementation

bool isUserActionStep(TestStep step) =>
    operationRegistry.lookup(step.type)?.userAction ?? false;