We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44b4690 commit c09237eCopy full SHA for c09237e
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