You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature: minimal
Scenario can be empty.
Background and hooks are not executed.
The state of the scenario is `undefined`
Background:
Given a background step
Scenario: empty
bundle exec cucumber -f json
Actual
[
{
"description": " Scenario can be empty.\n Background and hooks are not executed.\n The state of the scenario is `undefined`",
"elements": [
{
"description": "",
"keyword": "Background",
"line": 6,
"name": "",
"type": "background"
}
],
"id": "minimal",
"keyword": "Feature",
"line": 1,
"name": "minimal",
"uri": "features/empty-scenario/empty-scenario.feature"
}
]
Expected
[
{
"description": " Scenario can be empty.\n Background and hooks are not executed.\n The state of the scenario is `undefined`",
"elements": [
{
"id": "minimal;empty",
"keyword": "Scenario",
"line": 9,
"name": "empty",
"steps": [],
"type": "scenario"
}
],
"id": "minimal",
"keyword": "Feature",
"line": 1,
"name": "minimal",
"uri": "features/empty-scenario/empty-scenario.feature"
}
]
The text was updated successfully, but these errors were encountered:
bundle exec cucumber -f json
Actual
Expected
The text was updated successfully, but these errors were encountered: