Skip to content

Commit

Permalink
Fix bug in test common.js handleError method when saving a screenshot.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcenizal committed Jun 10, 2016
1 parent 761f3d9 commit 8b08d1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/support/pages/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ export default (function () {
const fileName = `failure_${now}_${testName}.png`;

return this.saveScreenshot(fileName, true)
.finally(function () {
.then(function () {
throw reason;
});
};
Expand Down

0 comments on commit 8b08d1a

Please sign in to comment.