testable-utils
Advanced tools
Comparing version 0.3.6 to 0.3.7
@@ -124,5 +124,3 @@ const _ = require('lodash'); | ||
browser.addCommand('testableScreenshot', function(name) { | ||
const id = info.region.name + '-' + info.regionalClientIndex + '-' + info.iteration; | ||
const dir = process.env.OUTPUT_DIR || '.'; | ||
const path = pathModule.join(dir, (isLocal ? '' : id + '-') + name + '.png'); | ||
const path = pathModule.join(process.env.OUTPUT_DIR || '.', name + '.png'); | ||
browser.saveScreenshot(path); | ||
@@ -129,0 +127,0 @@ return path; |
{ | ||
"name": "testable-utils", | ||
"version": "0.3.6", | ||
"version": "0.3.7", | ||
"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
42552
727