Skip to content

Commit c043b88

Browse files
authored
Merge pull request #33 from puneet0191/master
Preparing for Release
2 parents ca32b30 + 1961bc6 commit c043b88

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ const assert = require('assert');
44
const mkdirp = require('mkdirp');
55
const getDirName = require('path').dirname;
66
const AWS = require('aws-sdk');
7+
const path = require('path');
78

89
/**
910
* Resemble.js helper class for CodeceptJS, this allows screen comparison
@@ -50,7 +51,8 @@ class ResembleHelper extends Helper {
5051
throw new Error(this.err);
5152
}
5253
else {
53-
this.debug(this.config.diffFolder + diffImage + '.png');
54+
const diffImagePath = path.join(process.cwd(), this.config.diffFolder + diffImage + '.png');
55+
this.debug("Diff Image File Saved to: " + diffImagePath);
5456
}
5557
});
5658
}

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "codeceptjs-resemblehelper",
3-
"version": "1.5.0",
4-
"description": "Resemble Js helper for CodeceptJS, with WebdriverIO",
3+
"version": "1.6.0",
4+
"description": "Resemble Js helper for CodeceptJS, with Support for Webdriver, Puppeteer & Appium",
55
"repository": {
66
"type": "git",
77
"url": "[email protected]:Percona-Lab/codeceptjs-resemblehelper.git"

0 commit comments

Comments
 (0)