We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc14b44 commit 4527d7aCopy full SHA for 4527d7a
lib/cukejson/cucumberDataCollector.js
@@ -70,17 +70,10 @@ class CucumberDataCollector {
70
duration: this.timeTaken()
71
};
72
} else {
73
- const attachment = {
74
- index: this.currentStep,
75
- testCase: this.formatTestCase(this.currentScenario),
76
- data: btoa(err.message.toString()),
77
- media: { type: "text/plain" }
78
- };
79
this.stepResults[this.currentStep] = {
80
status: statuses.FAILED,
81
duration: this.timeTaken(),
82
- exception: this.testError,
83
- attachment
+ exception: this.testError
84
85
}
86
this.onFinishScenario(this.currentScenario);
0 commit comments