We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 44b4690 + c09237e commit 9cdd733Copy full SHA for 9cdd733
index.js
@@ -75,8 +75,8 @@ module.exports = function (config) {
75
});
76
77
event.dispatcher.on(event.step.finished, (step) => {
78
- if (step.helperMethod === 'saveScreenshot') {
79
- const filePath = path.join(global.output_dir, step.args[0]);
+ if (getRootMetaStep(step).helperMethod === 'saveScreenshot') {
+ const filePath = path.join(global.output_dir, getRootMetaStep(step).args[0]);
80
addScreenshotToReport(filePath);
81
}
82
0 commit comments