@percy/appium-app
Advanced tools
Comparing version 2.0.2-beta.0 to 2.0.2
{ | ||
"name": "@percy/appium-app", | ||
"description": "Appium client library for visual testing with Percy", | ||
"version": "2.0.2-beta.0", | ||
"version": "2.0.2", | ||
"license": "MIT", | ||
@@ -28,3 +28,3 @@ "author": "Perceptual Inc.", | ||
"access": "public", | ||
"tag": "beta" | ||
"tag": "latest" | ||
}, | ||
@@ -31,0 +31,0 @@ "scripts": { |
@@ -138,19 +138,27 @@ # @percy/appium-app | ||
- `options` (**optional**) - There are various options supported by percy_screenshot to server further functionality. | ||
- `freezeAnimation` - Boolean value by default it falls back to `false`, you can pass `true` and percy will freeze image based animations. | ||
- `freezeAnimatedImage` - Boolean value by default it falls back to `false`, you can pass `true` and percy will freeze image based animations. | ||
- `freezeImageBySelectors` - List of selectors. Images will be freezed which are passed using selectors. For this to work `freezeAnimatedImage` must be set to true. | ||
- `freezeImageByXpaths` - List of xpaths. Images will be freezed which are passed using xpaths. For this to work `freezeAnimatedImage` must be set to true. | ||
- `percyCSS` - Custom CSS to be added to DOM before the screenshot being taken. Note: This gets removed once the screenshot is taken. | ||
- `ignoreRegionXpaths` - Elements in the DOM can be ignored using xpath | ||
- `ignoreRegionSelectors` - Elements in the DOM can be ignored using selectors. | ||
- `ignoreRegionAppiumElements` - Elements can be ignored using appium_elements. | ||
- `customIgnoreRegions` - Elements can be ignored using custom boundaries | ||
- IgnoreRegion:- | ||
- Description: This class represents a rectangular area on a screen that needs to be ignored for visual diff. | ||
- Constructor: | ||
``` | ||
init(self, top, bottom, left, right) | ||
``` | ||
- Parameters: | ||
- `top` (int): Top coordinate of the ignore region. | ||
- `bottom` (int): Bottom coordinate of the ignore region. | ||
- `left` (int): Left coordinate of the ignore region. | ||
- `right` (int): Right coordinate of the ignore region. | ||
- `ignoreRegionXpaths` - List of xpaths. elements in the DOM can be ignored using xpath | ||
- `ignoreRegionSelectors` - List of selectors. elements in the DOM can be ignored using selectors. | ||
- `ignoreRegionAppiumElements` - List of appium web-element. elements can be ignored using appiumElements. | ||
- `customIgnoreRegions` - List of custom objects. elements can be ignored using custom boundaries. Just passing a simple object for it like below. | ||
- example: ```{top: 10, right: 10, bottom: 120, left: 10}``` | ||
- In above example it will draw rectangle of ignore region as per given coordinates. | ||
- `top` (int): Top coordinate of the ignore region. | ||
- `bottom` (int): Bottom coordinate of the ignore region. | ||
- `left` (int): Left coordinate of the ignore region. | ||
- `right` (int): Right coordinate of the ignore region. | ||
- `considerRegionXpaths` - List of xpaths. elements in the DOM can be considered for diffing and will be ignored by Intelli Ignore using xpaths. | ||
- `considerRegionSelectors` - List of selectors. elements in the DOM can be considered for diffing and will be ignored by Intelli Ignore using selectors. | ||
- `considerRegionAppiumElements` - List of appium web-element. elements can be considered for diffing and will be ignored by Intelli Ignore using appium_elements. | ||
- `customConsiderRegions` - List of custom objects. elements can be considered for diffing and will be ignored by Intelli Ignore using custom boundaries | ||
- example: ```{top: 10, right: 10, bottom: 120, left: 10}``` | ||
- In above example it will draw rectangle of consider region will be drawn. | ||
- Parameters: | ||
- `top` (int): Top coordinate of the consider region. | ||
- `bottom` (int): Bottom coordinate of the consider region. | ||
- `left` (int): Left coordinate of the consider region. | ||
- `right` (int): Right coordinate of the consider region. | ||
### Creating Percy on automate build | ||
@@ -157,0 +165,0 @@ Note: Automate Percy Token starts with `auto` keyword. The command can be triggered using `exec` keyword. |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
49690
0
177