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

@applitools/eyes.cypress

Package Overview
Dependencies
Maintainers
14
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.4.1 to 3.4.2

14

History.md
v3.4.1 / 2019-01-30
===================
* 3.4.1
* 3.4.0 - added failCypressOnDiff to README
v3.3.26 / 2019-01-30
====================
* 3.3.26
* Converting env variables of false and 0 to booleans (once eyes-common major is published we can use that).
* Renamed flag to not fail Cypress to ^CilCypressOnDiff
* changelog 3.3.25
v3.3.25 / 2019-01-29

@@ -3,0 +17,0 @@ ====================

2

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

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

@@ -318,4 +318,4 @@ # Eyes.Cypress

| `isDisabled` | false | If true, all calls to Eyes.Cypress commands will be silently ignored. |
| `failCypressOnDiff` | true | If false, Cypress will not fail once an eyes visual test fails (either for a visual difference or an Eyes Error).
| `tapFilePath` | undefined | Dir path of a results file. If set then a tap file with the test results would be saved to this location.|
| `failCypressOnDiff` | true | If true, then the Cypress test fails if an eyes visual test fails. If false and an eyes test fails, then the Cypress test does not fail.
| `tapDirPath` | undefined | Directory path of a results file. If set, then a [TAP](https://en.wikipedia.org/wiki/Test_Anything_Protocol#Specification) file with the name `eyes.tap` is created in this directory, containing the Eyes test results.|

@@ -322,0 +322,0 @@ ### Method 1: Arguments for `cy.eyesOpen`

@@ -8,6 +8,6 @@ const {TestResultsFormatter} = require('@applitools/eyes-sdk-core');

const makeHandleBatchResultsFile = config => {
if (!config.tapFilePath) return () => {};
if (!config.tapDirPath) return () => {};
return async function handleBatchResultsFile(results) {
const formatter = new TestResultsFormatter(results);
const tapFilePath = resolve(config.tapFilePath, 'eyes.tap');
const tapFilePath = resolve(config.tapDirPath, 'eyes.tap');
await writeFile(tapFilePath, formatter.asHierarchicTAPString(false, true));

@@ -14,0 +14,0 @@ };

@@ -17,3 +17,3 @@ 'use strict';

{concurrency: 1, agentId},
ConfigUtils.getConfig({configParams: [...configParams, 'failCypressOnDiff', 'tapFilePath']}),
ConfigUtils.getConfig({configParams: [...configParams, 'failCypressOnDiff', 'tapDirPath']}),
);

@@ -20,0 +20,0 @@

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