@nightwatch/browserstack
Advanced tools
Comparing version 0.2.3 to 3.1.0
{ | ||
"name": "@nightwatch/browserstack", | ||
"version": "0.2.3", | ||
"version": "3.1.0", | ||
"description": "Nightwatch plugin for integration with browserstack.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -339,2 +339,9 @@ const os = require('os'); | ||
} | ||
} else if (eventData.status === 'fail' && (testFileReport?.completed[sectionName]?.lastError || testFileReport?.completed[sectionName]?.stackTrace)) { | ||
const testCompletionData = testFileReport.completed[sectionName]; | ||
testData.failure = [ | ||
{'backtrace': [testCompletionData?.stackTrace]} | ||
]; | ||
testData.failure_reason = testCompletionData?.assertions.find(val => val.stackTrace === testCompletionData.stackTrace)?.failure; | ||
testData.failure_type = testCompletionData?.stackTrace.match(/Assert/) ? 'AssertionError' : 'UnhandledError'; | ||
} | ||
@@ -341,0 +348,0 @@ } |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
48875
1166
0
1