@applitools/eyes-cypress 3.23.1 → 3.23.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,27 @@
3
3
  ## Unreleased
4
4
 
5
5
 
6
+ ## 3.23.5 - 2022/1/6
7
+
8
+ - updated to @applitools/dom-snapshot@4.5.12 (from 4.5.11)
9
+ - updated to @applitools/logger@1.0.9 (from 1.0.6)
10
+ - updated to @applitools/visual-grid-client@15.8.57 (from 15.8.50)
11
+
12
+ ## 3.23.4 - 2021/12/9
13
+
14
+ - updated to @applitools/visual-grid-client@15.8.50 (from 15.8.49)
15
+
16
+ ## 3.23.3 - 2021/11/24
17
+
18
+ - add timeout before capturing dom snapshot
19
+ - updated to @applitools/dom-snapshot@4.5.11 (from 4.5.10)
20
+ - updated to @applitools/logger@1.0.6 (from 1.0.5)
21
+ - updated to @applitools/visual-grid-client@15.8.49 (from 15.8.46)
22
+
23
+ ## 3.23.2 - 2021/11/17
24
+
25
+ - updated to @applitools/visual-grid-client@15.8.46 (from 15.8.45)
26
+
6
27
  ## 3.23.1 - 2021/11/15
7
28
 
8
29
  - fix types for region inside shadow
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/eyes-cypress",
3
- "version": "3.23.1",
3
+ "version": "3.23.5",
4
4
  "main": "index.js",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "bin": {
@@ -16,7 +16,7 @@
16
16
  "cypress": "cd test/fixtures/testApp && cypress open --config integrationFolder=cypress/integration-play,pluginsFile=cypress/plugins/index-play.js,supportFile=cypress/support/index-play.js",
17
17
  "cypress:run": "cd test/fixtures/testApp && cypress run --config integrationFolder=cypress/integration-run,pluginsFile=cypress/plugins/index-run.js,supportFile=cypress/support/index-run.js",
18
18
  "cypress:play": "cd test/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",
19
- "preversion": "bongo preversion --skip-deps && yarn test",
19
+ "preversion": "bongo preversion --skip-deps",
20
20
  "version": "bongo version",
21
21
  "postversion": "bongo postversion --skip-release-notification",
22
22
  "deps": "bongo deps",
@@ -39,10 +39,10 @@
39
39
  "directory": "packages/eyes-cypress"
40
40
  },
41
41
  "dependencies": {
42
- "@applitools/dom-snapshot": "4.5.10",
42
+ "@applitools/dom-snapshot": "4.5.12",
43
43
  "@applitools/functional-commons": "1.6.0",
44
- "@applitools/logger": "1.0.5",
45
- "@applitools/visual-grid-client": "15.8.45",
44
+ "@applitools/logger": "1.0.9",
45
+ "@applitools/visual-grid-client": "15.8.57",
46
46
  "body-parser": "1.19.0",
47
47
  "chalk": "3.0.0",
48
48
  "cors": "2.8.5",
@@ -50,11 +50,10 @@
50
50
  "lodash.flatten": "4.4.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@applitools/scripts": "^1.0.1",
54
- "@applitools/sdk-release-kit": "0.13.4",
55
- "@applitools/sdk-shared": "0.9.9",
53
+ "@applitools/scripts": "^1.1.0",
54
+ "@applitools/sdk-release-kit": "0.13.10",
56
55
  "@applitools/snaptdout": "1.0.1",
57
- "@applitools/test-server": "1.0.7",
56
+ "@applitools/test-server": "1.0.8",
58
57
  "chai": "^4.2.0",
59
58
  "chai-spies": "^1.0.0",
60
59
  "cookie-parser": "^1.4.4",
@@ -53,7 +53,7 @@ Cypress.Commands.add('eyesOpen', function(args = {}) {
53
53
  Cypress.config('eyesOpenArgs', args);
54
54
  Cypress.log({name: 'Eyes: open'});
55
55
  const userAgent = navigator.userAgent;
56
- const {title: testName} = this.currentTest || this.test;
56
+ const {title: testName} = this.currentTest || this.test || Cypress.currentTest;
57
57
  const {browser: eyesOpenBrowser, isDisabled} = args;
58
58
  const globalBrowser = getGlobalConfigProperty('eyesBrowser');
59
59
  const defaultBrowser = {
@@ -29,7 +29,7 @@ function makeEyesCheckWindow({sendRequest, processPage, domSnapshotOptions, cypr
29
29
  return cypress
30
30
  .wrap({}, {log: false})
31
31
  .wait(waitBeforeCapture)
32
- .then(() => {
32
+ .then({log: false, timeout: 900000}, () => {
33
33
  return takeDomSnapshot(options);
34
34
  });
35
35
  }