@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.
@@ -47,7 +47,9 @@ var waitUntilSAMStatus = function (_a) {
47
47
  }
48
48
  });
49
49
  }, {
50
- errorMsg: "Timeout waiting for SAM to be " + expectedHealth + " for severity: " + severity + " and probeHealthFilter: " + probeHealthFilter + ". Last GraphQL response: " + JSON.stringify(lastGraphqlResponse),
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jahia/cypress",
3
- "version": "3.30.0",
3
+ "version": "3.31.0",
4
4
  "scripts": {
5
5
  "build": "tsc",
6
6
  "lint": "eslint src -c .eslintrc.json --ext .ts"
@@ -43,7 +43,9 @@ export const waitUntilSAMStatus = ({expectedHealth, severity = 'MEDIUM', probeHe
43
43
  }
44
44
  }),
45
45
  {
46
- errorMsg: `Timeout waiting for SAM to be ${expectedHealth} for severity: ${severity} and probeHealthFilter: ${probeHealthFilter}. Last GraphQL response: ${JSON.stringify(lastGraphqlResponse)}`,
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