Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions bin/codecept.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ program.command('run-workers <workers>')
.option('--tests', 'run only JS test files and skip features')
.option('--profile [value]', 'configuration profile to be used')
.option('-p, --plugins <k=v,k2=v2,...>', 'enable plugins, comma-separated')
.option('-O, --reporter-options <k=v,k2=v2,...>', 'reporter-specific options')
.option('-R, --reporter <name>', 'specify the reporter to use')
.action(require('../lib/command/run-workers'));

program.command('run-multiple [suites...]')
Expand Down
5 changes: 4 additions & 1 deletion lib/plugin/commentStep.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ module.exports = function (config) {
event.dispatcher.on(event.step.started, (step) => {
if (currentCommentStep) {
const metaStep = getRootMetaStep(step);
metaStep.metaStep = currentCommentStep;

if (metaStep !== currentCommentStep) {
metaStep.metaStep = currentCommentStep;
}
}
});

Expand Down