@jahia/cypress 3.30.0 → 3.31.0
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/dist/utils/SAMHelper.js +3 -1
- package/env.run.sh +1 -1
- package/package.json +1 -1
- package/src/utils/SAMHelper.ts +3 -1
package/dist/utils/SAMHelper.js
CHANGED
|
@@ -47,7 +47,9 @@ var waitUntilSAMStatus = function (_a) {
|
|
|
47
47
|
}
|
|
48
48
|
});
|
|
49
49
|
}, {
|
|
50
|
-
errorMsg:
|
|
50
|
+
errorMsg: function () {
|
|
51
|
+
return "Timeout waiting for SAM to be " + expectedHealth + " for severity: " + severity + " and probeHealthFilter: " + probeHealthFilter + ". Last GraphQL response: " + JSON.stringify(lastGraphqlResponse);
|
|
52
|
+
},
|
|
51
53
|
timeout: timeout,
|
|
52
54
|
verbose: true,
|
|
53
55
|
interval: interval
|
package/env.run.sh
CHANGED
|
@@ -48,7 +48,7 @@ fi
|
|
|
48
48
|
|
|
49
49
|
echo "$(date +'%d %B %Y - %k:%M') == Running Cypress with configuration file ${CYPRESS_CONFIGURATION_FILE} =="
|
|
50
50
|
|
|
51
|
-
yarn e2e:ci --config-file "${CYPRESS_CONFIGURATION_FILE}"
|
|
51
|
+
NO_COLOR=1 yarn e2e:ci --config-file "${CYPRESS_CONFIGURATION_FILE}"
|
|
52
52
|
|
|
53
53
|
if [[ $? -eq 0 ]]; then
|
|
54
54
|
echo "$(date +'%d %B %Y - %k:%M') == Full execution successful =="
|
package/package.json
CHANGED
package/src/utils/SAMHelper.ts
CHANGED
|
@@ -43,7 +43,9 @@ export const waitUntilSAMStatus = ({expectedHealth, severity = 'MEDIUM', probeHe
|
|
|
43
43
|
}
|
|
44
44
|
}),
|
|
45
45
|
{
|
|
46
|
-
errorMsg:
|
|
46
|
+
errorMsg: () => {
|
|
47
|
+
return `Timeout waiting for SAM to be ${expectedHealth} for severity: ${severity} and probeHealthFilter: ${probeHealthFilter}. Last GraphQL response: ${JSON.stringify(lastGraphqlResponse)}`;
|
|
48
|
+
},
|
|
47
49
|
timeout: timeout,
|
|
48
50
|
verbose: true,
|
|
49
51
|
interval: interval
|