testable-utils
Advanced tools
Comparing version 0.3.2 to 0.3.3
@@ -14,3 +14,3 @@ | ||
expectedFinishTimestamp: -1, | ||
iteration: 0, | ||
iteration: 0, | ||
client: 0, | ||
@@ -63,3 +63,3 @@ chunk: { | ||
info = LocalInfo; | ||
isLocal = true; | ||
isLocal = true; | ||
} | ||
@@ -123,3 +123,3 @@ | ||
wdio.registerResultsCommands(browser, results, doNotWait); | ||
wdio.registerInfoCommands(browser, info); | ||
wdio.registerInfoCommands(browser, info, isLocal); | ||
wdio.registerStopwatchCommands(browser, stopwatch); | ||
@@ -126,0 +126,0 @@ wdio.registerEventsCommands(browser, events, doNotWait, waitForFinish); |
@@ -113,3 +113,3 @@ const _ = require('lodash'); | ||
function registerInfoCommands(browser, info) { | ||
function registerInfoCommands(browser, info, isLocal) { | ||
if (isWdioContext(browser)) { | ||
@@ -122,3 +122,3 @@ browser.addCommand('testableInfo', function () { | ||
const dir = (process.env.OUTPUT_DIR || '.') + '/'; | ||
browser.saveScreenshot(dir + id + '-' + name + '.png'); | ||
browser.saveScreenshot(dir + (isLocal ? '' : id + '-') + name + '.png'); | ||
}); | ||
@@ -125,0 +125,0 @@ } |
{ | ||
"name": "testable-utils", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "Utilities for Testable scripts", | ||
@@ -5,0 +5,0 @@ "author": "Avi Stramer", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41025