Skip to main content

scenario-size

Lets you specify a maximum step length for scenarios and backgrounds. The Scenario configuration applies to both scenarios and scenario outlines.

Configuration

NameTypeDescriptionDefault
steps-lengthobjectObject that can contains the properties Scenario and Background.{"Background":15,"Scenario":15}
steps-length.BackgroundnumberSpecify de maximum step length for Background's step.15
steps-length.ScenarionumberSpecify de maximum step length for Scenario's step.15

Examples

Example

Set maximum step length for Background's step to 15, and 20 for Scenario's steps

{
"scenario-size": [
"error",
{
"steps-length": {
"Background": 15,
"Scenario": 20
}
}
]
}