@percy/appium-app
Advanced tools
Comparing version 2.0.2 to 2.0.3
const { AppiumDriver } = require('./percy/driver/driverWrapper'); | ||
const { ProviderResolver } = require('./percy/providers/providerResolver'); | ||
const { TimeIt } = require('./percy/util/timing'); | ||
const postFailedEvents = require('./percy/util/postFailedEvents'); | ||
const percyOnAutomate = require('./percy/percyOnAutomate'); | ||
@@ -64,2 +65,3 @@ | ||
driver = undefined; | ||
await postFailedEvents(e); | ||
} | ||
@@ -109,2 +111,3 @@ }; | ||
log.debug(`[${name}] ${e}, \n ${e.stack}`); | ||
await postFailedEvents(e); | ||
if (!(await driver.getPercyOptions()).ignoreErrors) throw e; | ||
@@ -111,0 +114,0 @@ } |
{ | ||
"name": "@percy/appium-app", | ||
"description": "Appium client library for visual testing with Percy", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "author": "Perceptual Inc.", |
@@ -15,3 +15,5 @@ const { Cache } = require('../util/cache'); | ||
// in real world when you get wd driver passed so need to ignore coverage on it | ||
if (driver.constructor.name === 'Browser' && !Undefined(driver.getSession)) { | ||
// In typescript for wdio we get driver.constuctor.name as 'BoundBrowser' | ||
if (driver.constructor.name.includes('Browser') && !Undefined(driver.getSession)) { | ||
this.type = 'wdio'; | ||
@@ -18,0 +20,0 @@ } else if ((driver.constructor.name === '' || |
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
50465
23
1183