New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@applitools/eyes-cypress

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/eyes-cypress - npm Package Compare versions

Comparing version

to
3.5.6

{
"name": "@applitools/eyes-cypress",
"version": "3.5.5",
"version": "3.5.6",
"main": "index.js",

@@ -44,3 +44,3 @@ "license": "MIT",

"@applitools/functional-commons": "^1.2.1",
"@applitools/visual-grid-client": "^12.1.1",
"@applitools/visual-grid-client": "^12.1.3",
"body-parser": "^1.18.3",

@@ -47,0 +47,0 @@ "chalk": "^2.4.2",

@@ -339,3 +339,3 @@ # Eyes-Cypress

| `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. Note that because of a current Cypress [limitation](https://github.com/cypress-io/cypress-documentation/issues/818) the results are scoped per spec file, this means that after each spec file run the results file is overridden.|
| `tapDirPath` | undefined | Directory path of a results file. If set, then a [TAP](https://en.wikipedia.org/wiki/Test_Anything_Protocol#Specification) file is created in this directory, the tap file name is created with the name [ISO-DATE](https://en.wikipedia.org/wiki/ISO_8601)\-eyes.tap and contains the Eyes test results (Note that because of a current Cypress [limitation](https://github.com/cypress-io/cypress-documentation/issues/818) the results are scoped per spec file, this means that the results file is created once for each spec file).|

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

@@ -11,4 +11,5 @@ const {TestResultsFormatter} = require('@applitools/eyes-sdk-core');

const formatter = new TestResultsFormatter(results);
const tapFilePath = resolve(config.tapDirPath, 'eyes.tap');
await writeFile(tapFilePath, formatter.asHierarchicTAPString(false, true));
const fileName = config.tapFileName || `${new Date().toISOString()}-eyes.tap`;
const tapFile = resolve(config.tapDirPath, fileName);
await writeFile(tapFile, formatter.asHierarchicTAPString(false, true));
};

@@ -15,0 +16,0 @@ };

Sorry, the diff of this file is too big to display