@percy/appium-app
Advanced tools
Comparing version 2.0.4 to 2.0.5
11
index.js
@@ -31,3 +31,4 @@ const { AppiumDriver } = require('./percy/driver/driverWrapper'); | ||
scrollableId, | ||
sync | ||
sync, | ||
testCase | ||
} = options; | ||
@@ -60,2 +61,3 @@ // allow working with or without standalone mode for wdio | ||
sync = name.sync; | ||
testCase = name.testCase; | ||
options = name; | ||
@@ -89,2 +91,5 @@ } | ||
const provider = ProviderResolver.resolve(driver); | ||
// Only added for browserstack sdk. | ||
let thTestCaseExecutionId = options.thTestCaseExecutionId; | ||
const response = await provider.screenshot(name, { | ||
@@ -110,3 +115,5 @@ fullscreen, | ||
scrollableId, | ||
sync | ||
sync, | ||
testCase, | ||
thTestCaseExecutionId | ||
}); | ||
@@ -113,0 +120,0 @@ log.debug(`[${name}] -> end`); |
{ | ||
"name": "@percy/appium-app", | ||
"description": "Appium client library for visual testing with Percy", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"license": "MIT", | ||
@@ -37,7 +37,7 @@ "author": "Perceptual Inc.", | ||
"dependencies": { | ||
"@percy/sdk-utils": "^1.28.0", | ||
"@percy/sdk-utils": "^1.28.2", | ||
"tmp": "^0.2.1" | ||
}, | ||
"devDependencies": { | ||
"@percy/cli": "^1.28.0", | ||
"@percy/cli": "^1.28.2", | ||
"cross-env": "^7.0.2", | ||
@@ -44,0 +44,0 @@ "eslint": "^8.27.0", |
@@ -37,3 +37,5 @@ const { GenericProvider } = require('./genericProvider'); | ||
scrollableId, | ||
sync | ||
sync, | ||
testCase, | ||
thTestCaseExecutionId | ||
} = {}) { | ||
@@ -67,3 +69,5 @@ let response = null; | ||
scrollableId, | ||
sync | ||
sync, | ||
testCase, | ||
thTestCaseExecutionId | ||
}); | ||
@@ -70,0 +74,0 @@ } catch (e) { |
@@ -55,3 +55,5 @@ const utils = require('@percy/sdk-utils'); | ||
scrollableId, | ||
sync | ||
sync, | ||
testCase, | ||
thTestCaseExecutionId | ||
}) { | ||
@@ -96,3 +98,5 @@ fullscreen = fullscreen || false; | ||
clientInfo: CLIENT_INFO, | ||
sync | ||
sync, | ||
testCase, | ||
thTestCaseExecutionId | ||
}); | ||
@@ -99,0 +103,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
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
51297
1210
Updated@percy/sdk-utils@^1.28.2