-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
1,021 additions
and
219 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
e2e/features/abilities/report-consumer/understand-rankings.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Ability: Understand how features and scenarios are given a status | ||
|
||
As a report reader | ||
I wan't to understand how a scenario or feature gets assigned its status | ||
So I can better understand the stats on the report | ||
|
||
Scenario: View description of statuses | ||
Given Lina is viewing a cucumber report | ||
Then Lina should be able to see a legend explaining the status |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Ability: View data tables in report | ||
|
||
Scenario: View data table | ||
Given Virginia has a step has a data table like the following: | ||
| A heading | | ||
| a row | | ||
| or two | | ||
Then the report Virginia generates report should display the data table |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
@GH-30 | ||
Ability: View tags in report | ||
As a user who makes use of tags | ||
I want to see any tags defined in the gherkin present in the report | ||
|
||
@GH-30 | ||
Scenario: View Feature tag | ||
Given Ira has results from a cucumber test containing the tag '@GH-30' against the feature 'View Feature tag' | ||
When Ira runs yachr against the result | ||
Then Ira will see the tag '@GH-30' in the tile bar of the 'View Feature tag' feature |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
@GH-30 | ||
Ability: View tags in report | ||
As a user who makes use of tags | ||
I want to see any tags defined in the gherkin present in the report | ||
|
||
@GH-30 | ||
Scenario: View Scenario tag | ||
Given Jon has results from a cucumber test containing the tag '@GH-30' against the scenario 'View scenario tag' | ||
When Jon runs yachr against the result | ||
Then Jon will see the tag '@GH-30' in the title bar of the scenario 'View Scenario tag' in the generated report |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
[ | ||
{ | ||
"description": " Starting point", | ||
"keyword": "Ability", | ||
"name": "View data tables in report", | ||
"line": 1, | ||
"id": "view-data-tables-in-report", | ||
"tags": [], | ||
"uri": "e2e\\features\\abilities\\user\\view-data-tables.feature", | ||
"elements": [ | ||
{ | ||
"id": "view-data-tables-in-report;view-data-table", | ||
"keyword": "Scenario", | ||
"line": 3, | ||
"name": "View data table", | ||
"tags": [], | ||
"type": "scenario", | ||
"steps": [ | ||
{ | ||
"arguments": [ | ||
{ | ||
"rows": [ | ||
{ | ||
"cells": [ | ||
"A heading" | ||
] | ||
}, | ||
{ | ||
"cells": [ | ||
"a row" | ||
] | ||
}, | ||
{ | ||
"cells": [ | ||
"or two" | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"keyword": "Given ", | ||
"line": 4, | ||
"name": "Virginia has a step has a data table like the following:", | ||
"match": { | ||
"location": "e2e\\step_definitions\\view-data-tables.steps.js:9" | ||
}, | ||
"result": { | ||
"status": "passed", | ||
"duration": 1000000, | ||
"error_message": "function has 0 arguments, should have 1 (if synchronous or returning a promise) or 2 (if accepting a callback)" | ||
} | ||
}, | ||
{ | ||
"arguments": [], | ||
"keyword": "Then ", | ||
"line": 8, | ||
"name": "the report Virginia generates report should display the data table", | ||
"match": { | ||
"location": "e2e\\step_definitions\\view-data-tables.steps.js:17" | ||
}, | ||
"result": { | ||
"status": "passed" | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] |
Oops, something went wrong.