@testomatio/reporter 1.2.3-beta → 1.2.4-beta

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.
@@ -69,10 +69,10 @@ class CucumberReporter extends Formatter {
69
69
  if (testCaseAttempt.worstTestStepResult.status === 'SKIPPED') {
70
70
  status = STATUS.SKIPPED;
71
71
  }
72
- if (testCaseAttempt.worstTestStepResult.status === 'UNDEFINED') {
73
- status = STATUS.SKIPPED;
74
- message = 'Undefined steps. Implement missing steps and rerun this scenario';
75
- }
72
+ // if (testCaseAttempt.worstTestStepResult.status === 'UNDEFINED') {
73
+ // status = STATUS.SKIPPED;
74
+ // message = 'Undefined steps. Implement missing steps and rerun this scenario';
75
+ // }
76
76
  if (testCaseAttempt.worstTestStepResult.status === 'FAILED') {
77
77
  message = testCaseAttempt?.worstTestStepResult?.message;
78
78
  status = STATUS.FAILED;
@@ -128,12 +128,12 @@ const createTestomatFormatter = apiKey => {
128
128
  let message = '';
129
129
  let cliMessage = `- ${scenario.name}: ${chalk.bold(status.toUpperCase())}`;
130
130
 
131
- if (event.result.status === 'undefined') {
132
- cliMessage += chalk.yellow(
133
- ' (undefined steps. Run Cucumber without this formatter and implement missing steps)',
134
- );
135
- message = 'Undefined steps. Implement missing steps and rerun this scenario';
136
- }
131
+ // if (event.result.status === 'undefined') {
132
+ // cliMessage += chalk.yellow(
133
+ // ' (undefined steps. Run Cucumber without this formatter and implement missing steps)',
134
+ // );
135
+ // message = 'Undefined steps. Implement missing steps and rerun this scenario';
136
+ // }
137
137
  console.log(cliMessage);
138
138
  if (status !== STATUS.PASSED && status !== STATUS.SKIPPED) {
139
139
  this.status = STATUS.FAILED;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testomatio/reporter",
3
- "version": "1.2.3-beta",
3
+ "version": "1.2.4-beta",
4
4
  "description": "Testomatio Reporter Client",
5
5
  "main": "./lib/reporter.js",
6
6
  "typings": "typings/index.d.ts",