Skip to content
This repository has been archived by the owner on Jan 26, 2023. It is now read-only.

Commit

Permalink
fixed wrongly based screenshot file path in meta data
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Alabor committed Jan 27, 2014
1 parent d05ef05 commit 71fe968
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Changelog
## Version 0.0.2
* Meta data contained the screenshot file path based on the wrong directory. Fixed.

## Version 0.0.1
* Initial release
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ function reportSpecResults(spec) {
, directory = path.dirname(screenShotPath);


metaData.screenShotFile = screenShotPath;
metaData.screenShotFile = screenShotFile;
mkdirp(directory, function(err) {
if(err) {
throw new Error('Could not create directory ' + directory);
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-screenshot-reporter",
"version": "0.0.1",
"version": "0.0.2",
"description": "Use the screenshot reporter to capture screenshots from your Selenium nodes after each executed Protractor test case.",
"main": "index.js",
"repository": {
Expand Down

0 comments on commit 71fe968

Please sign in to comment.