Skip to content

Commit

Permalink
regression in cucumber json output karatelabs#1536
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrthomas committed Mar 25, 2021
1 parent e6f5ee5 commit 71f2e98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ public Map<String, Object> toCucumberJson() {
map.put("id", StringUtils.toIdString(scenario.getName()));
map.put("description", scenario.getDescription());
map.put("type", "scenario");
map.put("keyword", "Scenario");
map.put("keyword", scenario.isOutlineExample() ? "Scenario Outline" : "Scenario");
map.put("tags", tagsToCucumberJson(scenario.getTagsEffective().getOriginal()));
return map;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@
"description": "",
"id": "hello-foo",
"type": "scenario",
"keyword": "Scenario",
"keyword": "Scenario Outline",
"steps": [
{
"name": "print 'name:', name",
Expand Down Expand Up @@ -270,7 +270,7 @@
"description": "",
"id": "hello-bar",
"type": "scenario",
"keyword": "Scenario",
"keyword": "Scenario Outline",
"steps": [
{
"name": "print 'name:', name",
Expand Down

0 comments on commit 71f2e98

Please sign in to comment.