@applitools/eyes-cypress
Advanced tools
Comparing version 3.6.2 to 3.6.3
{ | ||
"name": "@applitools/eyes-cypress", | ||
"version": "3.6.2", | ||
"version": "3.6.3", | ||
"main": "index.js", | ||
@@ -41,6 +41,6 @@ "license": "MIT", | ||
"@applitools/dom-snapshot": "^1.0.7", | ||
"@applitools/eyes-common": "^2.1.0", | ||
"@applitools/eyes-common": "^2.2.1", | ||
"@applitools/eyes-sdk-core": "^4.9.1", | ||
"@applitools/functional-commons": "^1.3.1", | ||
"@applitools/visual-grid-client": "^12.4.0", | ||
"@applitools/functional-commons": "^1.3.5", | ||
"@applitools/visual-grid-client": "^12.5.2", | ||
"body-parser": "^1.18.3", | ||
@@ -56,4 +56,4 @@ "chalk": "^2.4.2", | ||
"cookie-parser": "^1.4.4", | ||
"cypress": "^3.1.5", | ||
"eslint": "^5.15.1", | ||
"cypress": "^3.2.0", | ||
"eslint": "^5.16.0", | ||
"eslint-plugin-mocha-no-only": "^1.1.0", | ||
@@ -60,0 +60,0 @@ "eslint-plugin-node": "^7.0.1", |
@@ -17,2 +17,3 @@ 'use strict'; | ||
config.failCypressOnDiff === undefined ? true : !!config.failCypressOnDiff, | ||
eyesTimeout: config.eyesTimeout, | ||
}; | ||
@@ -19,0 +20,0 @@ return Object.assign(eyesConfig, {eyesPort}, moduleExportsResult); |
'use strict'; | ||
const {version: packageVersion} = require('../../package.json'); | ||
const agentId = `eyes-cypress/${packageVersion}`; | ||
const {ConfigUtils, Logger} = require('@applitools/eyes-common'); | ||
const {makeVisualGridClient, configParams} = require('@applitools/visual-grid-client'); | ||
const {TypeUtils} = require('@applitools/eyes-common'); | ||
const makeStartServer = require('./server'); | ||
const makePluginExport = require('./pluginExport'); | ||
const {startApp} = require('./app'); | ||
const {ConfigUtils, Logger} = require('@applitools/eyes-common'); | ||
const {makeVisualGridClient, configParams} = require('@applitools/visual-grid-client'); | ||
const getErrorsAndDiffs = require('./getErrorsAndDiffs'); | ||
@@ -14,6 +13,10 @@ const processCloseAndAbort = require('./processCloseAndAbort'); | ||
const makeHandlers = require('./handlers'); | ||
const {version: packageVersion} = require('../../package.json'); | ||
const agentId = `eyes-cypress/${packageVersion}`; | ||
const config = Object.assign( | ||
{concurrency: 1, agentId}, | ||
ConfigUtils.getConfig({configParams: [...configParams, 'failCypressOnDiff', 'tapDirPath']}), | ||
ConfigUtils.getConfig({ | ||
configParams: [...configParams, 'failCypressOnDiff', 'tapDirPath', 'eyesTimeout'], | ||
}), | ||
); | ||
@@ -23,2 +26,5 @@ if (config.failCypressOnDiff === '0') { | ||
} | ||
if (TypeUtils.isString(config.showLogs)) { | ||
config.showLogs = config.showLogs === 'true' || config.showLogs === '1'; | ||
} | ||
@@ -25,0 +31,0 @@ const logger = new Logger(config.showLogs, 'cypress'); |
152449
861
+ Addedcall-bind-apply-helpers@1.0.2(transitive)
- Removedcall-bind-apply-helpers@1.0.1(transitive)