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 1.4.1 to 1.4.2

src/cypress/plugin/configParams.js

2

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

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -132,3 +132,4 @@ # Eyes.Cypress

| `saveDebugData` | false | Whether to save troubleshooting data. See the troubleshooting section of this doc for more info. |
| `batchName` | null | Provides ability to group tests into batches. Read more about batches [here](https://applitools.com/docs/topics/working-with-test-batches/how-to-group-tests-into-batches.html). |
| `batchId` | random | Provides ability to group tests into batches. Read more about batches [here](https://applitools.com/docs/topics/working-with-test-batches/how-to-group-tests-into-batches.html). |
| `batchName` | null | Provide a name to the batch. |

@@ -135,0 +136,0 @@ There are 3 ways to specify test configuration:

'use strict';
const {resolve} = require('path');
const getBatch = require('./getBatch');
const configParams = require('./configParams');
const configFilename = 'eyes.json';
function toEnvVarName(camelCaseStr) {
return camelCaseStr.replace(/(.)([A-Z])/g, '$1_$2').toUpperCase();
}
function initConfig(configFolder) {

@@ -16,5 +21,6 @@ const configPath = resolve(configFolder, configFilename);

const envConfig = {
apiKey: process.env.APPLITOOLS_API_KEY,
};
const envConfig = {};
for (const p of configParams) {
envConfig[p] = process.env[`APPLITOOLS_${toEnvVarName(p)}`];
}

@@ -35,2 +41,3 @@ for (const p in envConfig) {

initConfig,
toEnvVarName,
};
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