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

@applitools/eyes.cypress

Package Overview
Dependencies
Maintainers
12
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/eyes.cypress - npm Package Compare versions

Comparing version 3.0.6 to 3.0.7

7

package.json
{
"name": "@applitools/eyes.cypress",
"version": "3.0.6",
"version": "3.0.7",
"main": "index.js",

@@ -18,3 +18,4 @@ "license": "MIT",

"cypress": "cd tests/fixtures/testApp && cypress open --config integrationFolder=cypress/integration-play,pluginsFile=cypress/plugins/index-play.js,supportFile=cypress/support/index-run.js",
"cypress:run": "cd tests/fixtures/testApp && cypress run --config integrationFolder=cypress/integration-play,pluginsFile=cypress/plugins/index-play.js,supportFile=cypress/support/index-run.js --spec=cypress/integration-play/actions.spec.js"
"cypress:run": "cd tests/fixtures/testApp && cypress run --config integrationFolder=cypress/integration-play,pluginsFile=cypress/plugins/index-play.js,supportFile=cypress/support/index-run.js --spec=cypress/integration-play/actions.spec.js",
"prepublishOnly": "npm version patch"
},

@@ -36,3 +37,3 @@ "files": [

"@applitools/dom-capture": "^2.0.0",
"@applitools/rendering-grid-client": "^4.0.6",
"@applitools/visual-grid-client": "^4.1.2",
"body-parser": "1.18.2",

@@ -39,0 +40,0 @@ "cors": "^2.8.4",

/* global Cypress,cy,window,before,after */
'use strict';
const {extractResources, domNodesToCdt} = require('@applitools/rendering-grid-client/browser');
const {extractResources, domNodesToCdt} = require('@applitools/visual-grid-client/browser');
const poll = require('./poll');

@@ -5,0 +5,0 @@ const makeSend = require('./makeSend');

'use strict';
const pollingHandler = require('./pollingHandler');
function makeHandlers({makeRenderingGridClient, logger = console}) {
function makeHandlers({makeVisualGridClient, logger = console}) {
let openEyes, pollBatchEnd, checkWindow, close, resources, openErr;

@@ -28,3 +28,3 @@ const runningTests = [];

batchStart: args => {
const client = makeRenderingGridClient(args);
const client = makeVisualGridClient(args);
openEyes = client.openEyes;

@@ -31,0 +31,0 @@ pollBatchEnd = pollingHandler(makeWaitForTestResults(client.waitForTestResults));

'use strict';
const {promisify: p} = require('util');
const psetTimeout = p(setTimeout);
const {
makeRenderingGridClient,
initConfig,
createLogger,
} = require('@applitools/rendering-grid-client');
const {makeVisualGridClient, initConfig, createLogger} = require('@applitools/visual-grid-client');
const logger = createLogger(process.env.APPLITOOLS_SHOW_LOGS); // TODO when switching to DEBUG sometime remove this env var

@@ -15,4 +11,4 @@ const {startApp} = require('./app');

logger,
makeRenderingGridClient: () =>
makeRenderingGridClient({
makeVisualGridClient: () =>
makeVisualGridClient({
getConfig,

@@ -19,0 +15,0 @@ updateConfig,

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