Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@percy/appium-app

Package Overview
Dependencies
Maintainers
6
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@percy/appium-app - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

percy/util/postFailedEvents.js

3

index.js
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 @@ }

2

package.json
{
"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 === '' ||

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc