scenario-size
Limit the number of steps in a Scenario.
| Category | Recommended | Safe autofix | Default options |
|---|---|---|---|
| structure | no | no | {"maxSteps":12} |
Limits direct Scenario steps, not Background steps.
Configuration
json
{ "rules": { "scenario-size": ["error", {"maxSteps":12}] } }Triggered by
text
Scenario: long flow
Given one
When two
Then three