@wdio/utils
Advanced tools
Comparing version 6.1.0 to 6.1.8
@@ -82,3 +82,3 @@ "use strict"; | ||
isAndroid: isAndroid(capabilities), | ||
isSauce: isSauce(requestedCapabilities.w3cCaps.alwaysMatch), | ||
isSauce: isSauce(requestedCapabilities), | ||
isSeleniumStandalone: isSeleniumStandalone(capabilities) | ||
@@ -85,0 +85,0 @@ }; |
@@ -36,2 +36,5 @@ "use strict"; | ||
}; | ||
propertiesObject.requestedCapabilities = { | ||
value: options.requestedCapabilities | ||
}; | ||
@@ -38,0 +41,0 @@ if (typeof commandWrapper === 'function') { |
@@ -43,3 +43,3 @@ "use strict"; | ||
const beforeArgs = beforeFnArgs(this); | ||
await (0, _errorHandler.logHookError)(`Before${type}`, (await executeHooksWithArgs(beforeFn, beforeArgs)), cid); | ||
await (0, _errorHandler.logHookError)(`Before${type}`, await executeHooksWithArgs(beforeFn, beforeArgs), cid); | ||
let promise; | ||
@@ -77,3 +77,3 @@ let result; | ||
}); | ||
await (0, _errorHandler.logHookError)(`After${type}`, (await executeHooksWithArgs(afterFn, [...afterArgs])), cid); | ||
await (0, _errorHandler.logHookError)(`After${type}`, await executeHooksWithArgs(afterFn, [...afterArgs]), cid); | ||
@@ -80,0 +80,0 @@ if (error) { |
{ | ||
"name": "@wdio/utils", | ||
"version": "6.1.0", | ||
"version": "6.1.8", | ||
"description": "A WDIO helper utility to provide several utility functions used across the project.", | ||
@@ -39,3 +39,3 @@ "author": "Christian Bromann <christian@saucelabs.com>", | ||
}, | ||
"gitHead": "15034d0acef9a6de046df31f60850023cb52bce9" | ||
"gitHead": "2f7008522802d2b15705fb300aa93c544e0af405" | ||
} |
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
30078
864