Closed seliardwb closed 6 years ago
Hi @seliardwb , I have added the new feature to the project. You should be able to see it after a git pull
. These two properties are Feature properties. Putting it on the Header of the page, it is assumed that all featured in the same JSON file are from the same Project. These are updated as Javascript iterates through the Features. So, the displayed ones are the last Feature's.
As part of this commit, I have also added an error prevention control, as I noticed that we can have the following for a Feature's step:
{
"result": {
"status": "skipped"
},
"line": 24,
"name": "I want to book a Flex rate",
"match": {
"arguments": [
{
"val": "Flex",
"offset": 17
}
],
"location": "StepDefs.java:85"
},
"keyword": "Then "
}
There was no duration
for this step, as it was "Skipped" and it was breaking the total duration. Therefore, I have made it to consider the non-existent duration as 0. If you DO want it to break to identify the step, let me know. Although, the scenario appears as "Undefined", as the step is neither "Passed" nor "Failed".
I've changed the JSON file to include these values: "project":"PI", "runTime":"03-09-2018 17:56"
cucumber.json.zip