Skip to content

Commit

Permalink
Fixed issue with undefined describe;
Browse files Browse the repository at this point in the history
  • Loading branch information
Evilweed committed Nov 9, 2017
1 parent 4148b40 commit a35aeea
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## Version 0.5.3
* Fixed issue with undefined describe

## Version 0.5.2
* Fixed performance issue and stability. PR by yjaaidi
* Added test sorting for sharded runs
Expand Down
5 changes: 3 additions & 2 deletions examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"webdriver-manager": "./node_modules/protractor/bin/webdriver-manager"
},
"author": "",
"license": "ISC",
Expand All @@ -16,7 +17,7 @@
"protractor": "^5.1.1",
"grunt-protractor-runner": "~0.1.6",
"grunt-shell-spawn": "~0.3.0",
"protractor-beautiful-reporter": "^0.4.4",
"protractor-beautiful-reporter": "^0.5.3",
"grunt-concurrent": "^0.5.0",
"webdriver-manager": "^12.0.6"
}
Expand Down
2 changes: 1 addition & 1 deletion lib/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ function cleanArray(actual) {
* itself.
*/
function gatherDescriptions(suite, soFar) {
soFar.push(suite.description);
if (suite.description != null) { soFar.push(suite.description) };

if(suite.parentSuite) {
return gatherDescriptions(suite.parentSuite, soFar);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "protractor-beautiful-reporter",
"version": "0.5.2",
"version": "0.5.3",
"description": "An npm module and which generates your Protractor test reports in HTML (angular) with screenshots",
"main": "index.js",
"repository": {
Expand Down

0 comments on commit a35aeea

Please sign in to comment.