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 3.2.7 to 3.2.8

2

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

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

@@ -72,2 +72,13 @@ # Eyes.Cypress

It's also possible to specify the API key in the `applitools.config.js` file. The property name is `apiKey`. For example:
```js
module.exports = {
apiKey: 'YOUR_API_KEY',
...
}
```
See the [Advanced configuration](#method-3-the-applitoolsconfigjs-file) section below for more information on using the config file.
## Usage

@@ -107,3 +118,2 @@

appName: 'Hello World!',
testName: 'My first JavaScript test!',
browser: { width: 800, height: 600 },

@@ -117,3 +127,3 @@ });

it('works', () => {
it('My first JavaScript test!', () => {
cy.visit('https://applitools.com/helloworld');

@@ -128,2 +138,3 @@ cy.eyesCheckWindow('Main Page');

Applitools will take screenshots and perform the visual comparisons in the background. Performance of the tests will not be affected during the test run, but there will be a small phase at the end of the test run that waits for visual tests to end.
**Note**: In Cypress interactive mode (`cypress open`) there is a bug that exceptions in root level `after` statements don't appear in the UI. They still appear in the browser's console, and considered failures in `cypress run`. See [this issue](https://github.com/cypress-io/cypress/issues/2296) for more information and tracking.

@@ -147,3 +158,3 @@

It's possible to pass a config object to `eyesOpen` with all the possible configuration properties. Read the [Advanced configuration] section for a detailed description.
It's possible to pass a config object to `eyesOpen` with all the possible configuration properties. Read the [Advanced configuration](#advanced-configuration) section for a detailed description.

@@ -232,3 +243,3 @@ #### Check window

| `browser` | { width: 800, height: 600, name: 'chrome' } | The size and browser of the generated screenshots. This doesn't need to be the same as the browser that Cypress is running. It could be a different size and also a different browser. Currently, `firefox` and `chrome` are supported. For more info, see the [browser section below](#configuring-the-browser).|
| `showLogs` | false | Whether or not you want to see logs of the Eyes.Cypress plugin. Logs are written to the same output of the Cypress process. |
| `concurrency` | 1 | The maximum number of tests that can run concurrently. The default value is the allowed amount for free accounts. For paid accounts, set this number to the quota set for your account. |
| `saveDebugData` | false | Whether to save troubleshooting data. See the troubleshooting section of this doc for more info. |

@@ -246,9 +257,11 @@ | `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). |

| `parentBranchName` | undefined | Sets the branch under which new branches are created. |
| `proxy` | undefined | Sets the proxy settings to be used in network requests to Eyes server. |
| `saveFailedTests` | false | Set whether or not failed tests are saved by default. |
| `saveNewTests` | false | Set whether or not new tests are saved by default. |
| `serverUrl` | Default Eyes server URL | The URL of Eyes server |
| `properties` | undefined | Custom properties for the eyes test. The format is an array of objects with name/value properties. For example: `[{name: 'My prop', value:'My value'}]`. |
| `compareWithParentBranch` | false | |
| `ignoreBaseline` | false | |
| `showLogs` | false | Whether or not you want to see logs of the Eyes.Cypress plugin. Logs are written to the same output of the Cypress process. |
| `serverUrl` | Default Eyes server URL | The URL of Eyes server |
| `proxy` | undefined | Sets the proxy settings to be used in network requests to Eyes server. |
| `apiKey` | undefined | The API key used for working with the Applitools Eyes server. See more info in the [Applitools API key](#applitools-api-key) section above |

@@ -262,2 +275,4 @@ There are 3 ways to specify test configuration:

**Important note about exceptions to this list**: The configuration properties `showLogs`, `apiKey`, `serverUrl` and `proxy` cannot be defined using the first method of passing them to `cy.eyesOpen`. They should be defined either in the `applitools.config.js` file or as environment variables.
### Method 1: Arguments for `cy.eyesOpen`

@@ -264,0 +279,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