@applitools/eyes.cypress
Advanced tools
Comparing version 3.0.6 to 3.0.7
{ | ||
"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, |
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
32066
520
+ Added@applitools/http-commons@1.3.9(transitive)
+ Added@applitools/monitoring-commons@1.0.19(transitive)
+ Added@applitools/visual-grid-client@4.3.9(transitive)
+ Addedagentkeepalive@4.5.0(transitive)
+ Addeddebug@4.3.7(transitive)
+ Addedhas-symbols@1.0.3(transitive)
+ Addedhumanize-ms@1.2.1(transitive)
+ Addedlodash.merge@4.6.2(transitive)
- Removed@applitools/rendering-grid-client@4.0.6(transitive)
- Removedhas-symbols@1.1.0(transitive)