@applitools/eyes-cypress 3.27.7 → 3.27.9
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 +14 -0
- package/package.json +9 -9
- package/src/browser/commands.js +2 -1
- package/src/plugin/hooks.js +0 -7
- package/src/plugin/server.js +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,20 @@
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
+
## 3.27.9 - 2022/12/21
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
- Additional internal event logs
|
|
18
|
+
### Bug fixes
|
|
19
|
+
- Handle fake shadowRoot with UFG
|
|
20
|
+
- Handed error during polling in long requests to eyes server
|
|
21
|
+
|
|
22
|
+
## 3.27.8 - 2022/11/19
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
### Bug fixes
|
|
26
|
+
- Handle cases where cypress report showed tests pass when differences were found
|
|
27
|
+
|
|
14
28
|
## 3.27.7 - 2022/11/17
|
|
15
29
|
|
|
16
30
|
### Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-cypress",
|
|
3
|
-
"version": "3.27.
|
|
3
|
+
"version": "3.27.9",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git://github.com/applitools/eyes.sdk.javascript1.git",
|
|
@@ -56,11 +56,11 @@
|
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@applitools/core": "1.
|
|
60
|
-
"@applitools/eyes-api": "1.
|
|
61
|
-
"@applitools/eyes-universal": "2.17.
|
|
59
|
+
"@applitools/core": "1.3.4",
|
|
60
|
+
"@applitools/eyes-api": "1.11.3",
|
|
61
|
+
"@applitools/eyes-universal": "2.17.4",
|
|
62
62
|
"@applitools/functional-commons": "1.6.0",
|
|
63
|
-
"@applitools/logger": "1.1.
|
|
63
|
+
"@applitools/logger": "1.1.35",
|
|
64
64
|
"chalk": "3.0.0",
|
|
65
65
|
"semver": "7.3.8",
|
|
66
66
|
"uuid": "8.3.2",
|
|
@@ -70,11 +70,11 @@
|
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@applitools/bongo": "^2.2.0",
|
|
72
72
|
"@applitools/scripts": "1.2.0",
|
|
73
|
-
"@applitools/sdk-coverage-tests": "^2.7.
|
|
73
|
+
"@applitools/sdk-coverage-tests": "^2.7.10",
|
|
74
74
|
"@applitools/snaptdout": "1.0.1",
|
|
75
|
-
"@applitools/test-server": "1.1.
|
|
76
|
-
"@applitools/test-utils": "1.5.
|
|
77
|
-
"@applitools/utils": "1.3.
|
|
75
|
+
"@applitools/test-server": "1.1.15",
|
|
76
|
+
"@applitools/test-utils": "1.5.4",
|
|
77
|
+
"@applitools/utils": "1.3.21",
|
|
78
78
|
"@types/node": "12",
|
|
79
79
|
"@types/which": "^2.0.1",
|
|
80
80
|
"@types/ws": "^8.2.2",
|
package/src/browser/commands.js
CHANGED
|
@@ -58,7 +58,7 @@ Cypress.Commands.add('eyesGetAllTestResults', () => {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
if (shouldUseBrowserHooks) {
|
|
61
|
+
if (shouldUseBrowserHooks || Cypress.config('eyesFailCypressOnDiff')) {
|
|
62
62
|
after(() => {
|
|
63
63
|
if (!manager) return;
|
|
64
64
|
return cy.then({timeout: 86400000}, async () => {
|
|
@@ -72,6 +72,7 @@ if (shouldUseBrowserHooks) {
|
|
|
72
72
|
isTextTerminal: Cypress.config('isTextTerminal'),
|
|
73
73
|
tapDirPath: Cypress.config('appliConfFile').tapDirPath,
|
|
74
74
|
tapFileName: Cypress.config('appliConfFile').tapFileName,
|
|
75
|
+
shouldCreateTapFile: shouldUseBrowserHooks,
|
|
75
76
|
};
|
|
76
77
|
await Promise.all(closePromiseArr);
|
|
77
78
|
const summary = await socket.request('EyesManager.closeManager', {manager, throwErr});
|
package/src/plugin/hooks.js
CHANGED
|
@@ -10,11 +10,6 @@ function makeGlobalRunHooks({closeManager, closeBatches, closeUniversalServer})
|
|
|
10
10
|
'after:run': async ({config}) => {
|
|
11
11
|
try {
|
|
12
12
|
if (!config.isTextTerminal) return;
|
|
13
|
-
const resultConfig = {
|
|
14
|
-
showLogs: config.showLogs,
|
|
15
|
-
eyesFailCypressOnDiff: config.eyesFailCypressOnDiff,
|
|
16
|
-
isTextTerminal: config.isTextTerminal,
|
|
17
|
-
};
|
|
18
13
|
const summaries = await closeManager();
|
|
19
14
|
|
|
20
15
|
let testResults;
|
|
@@ -36,8 +31,6 @@ function makeGlobalRunHooks({closeManager, closeBatches, closeUniversalServer})
|
|
|
36
31
|
tapFileName: config.appliConfFile.tapFileName,
|
|
37
32
|
});
|
|
38
33
|
}
|
|
39
|
-
|
|
40
|
-
handleTestResults.printTestResults({testResults, resultConfig});
|
|
41
34
|
} finally {
|
|
42
35
|
await closeUniversalServer();
|
|
43
36
|
}
|
package/src/plugin/server.js
CHANGED
|
@@ -84,7 +84,10 @@ function makeStartServer({logger}) {
|
|
|
84
84
|
socketWithUniversal.send(newMessage);
|
|
85
85
|
} else if (msg.name === 'Test.printTestResults') {
|
|
86
86
|
try {
|
|
87
|
-
if (
|
|
87
|
+
if (
|
|
88
|
+
msg.payload.resultConfig.tapDirPath &&
|
|
89
|
+
msg.payload.resultConfig.shouldCreateTapFile
|
|
90
|
+
) {
|
|
88
91
|
handleTestResults.handleBatchResultsFile(msg.payload.testResults, {
|
|
89
92
|
tapFileName: msg.payload.resultConfig.tapFileName,
|
|
90
93
|
tapDirPath: msg.payload.resultConfig.tapDirPath,
|