@applitools/eyes.cypress
Advanced tools
Comparing version 3.2.23 to 3.2.24
v3.2.23 / 2018-11-14 | ||
==================== | ||
* 3.2.23 - Amit Zur [[336b6df](https://github.com/applitools/eyes.cypress/commit/336b6df260871120e491e4445a8095c925db1e89)] | ||
* update visual-grid-client to 5.5.3 to get sdk-core major version - Amit Zur [[2805eee](https://github.com/applitools/eyes.cypress/commit/2805eeed23161774bbec563043c9a4364cbcb5f0)] | ||
* add a changelog - Amit Zur [[de2a8ef](https://github.com/applitools/eyes.cypress/commit/de2a8efffe1b8ef70974517a34d7eee97e5c5751)] | ||
* add play spec - Amit Zur [[c286ee0](https://github.com/applitools/eyes.cypress/commit/c286ee043726cb92180a9e75f84cf02c3e63d3dc)] | ||
v3.2.22 / 2018-11-13 | ||
@@ -3,0 +11,0 @@ ==================== |
{ | ||
"name": "@applitools/eyes.cypress", | ||
"version": "3.2.23", | ||
"version": "3.2.24", | ||
"main": "index.js", | ||
@@ -19,3 +19,3 @@ "license": "MIT", | ||
"cypress:run": "cd tests/fixtures/testApp && cypress run --config integrationFolder=cypress/integration-run,pluginsFile=cypress/plugins/index-run.js,supportFile=cypress/support/index-run.js", | ||
"cypress:play": "cd tests/fixtures/testApp && cypress run --config integrationFolder=cypress/integration-play,pluginsFile=cypress/plugins/index-play.js,supportFile=cypress/support/index-run.js --spec=cypress/integration-play/test.js", | ||
"cypress:play": "cd tests/fixtures/testApp && cypress run --config integrationFolder=cypress/integration-play,pluginsFile=cypress/plugins/index-play.js,supportFile=cypress/support/index-run.js --spec=cypress/integration-play/play.js", | ||
"prepublishOnly": "npm version patch", | ||
@@ -39,3 +39,3 @@ "changelog": "git changelog -f \"v$(jq -r '.version' < package.json)\"" | ||
"@applitools/functional-commons": "^1.0.27", | ||
"@applitools/visual-grid-client": "^5.5.3", | ||
"@applitools/visual-grid-client": "^6.0.1", | ||
"body-parser": "^1.18.3", | ||
@@ -42,0 +42,0 @@ "chalk": "^2.4.1", |
@@ -176,3 +176,3 @@ # Eyes.Cypress | ||
- **`selector`**: Take a screenshot of the content of the element targeted by the css selector. It's necessary to specify the value of the selector in the `selector` argument. | ||
- ** `region`**: Take a screenshot of a region of the page, specified by coordinates. It's necessary to specify the value of the region in the `region` argument. | ||
- **`region`**: Take a screenshot of a region of the page, specified by coordinates. It's necessary to specify the value of the region in the `region` argument. | ||
@@ -219,2 +219,14 @@ - `selector` (optional): In case `sizeMode` is `selector`, this should be the actual css selector to an element, and the screenshot would be the content of that element. For example: | ||
- `scriptHooks` (optional): A set of scripts to be run by the browser during the rendering. It is intended to be used as a means to alter the page's state and structure at the time of rendering. | ||
An object with the following properties: | ||
- `beforeCaptureScreenshot`: a script that runs after the page is loaded but before taking the screenshot. For example: | ||
```js | ||
cy.eyesCheckWindow({ | ||
scriptHooks: { | ||
beforeCaptureScreenshot: "document.body.style.backgroundColor = 'gold'" | ||
} | ||
}) | ||
``` | ||
#### Close | ||
@@ -221,0 +233,0 @@ |
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
119548
32
392
1
80
+ Added@applitools/visual-grid-client@6.0.1(transitive)
- Removed@applitools/visual-grid-client@5.5.3(transitive)