diff --git a/lib/command/workers/runTests.js b/lib/command/workers/runTests.js index d444b183f..a2ea9e409 100644 --- a/lib/command/workers/runTests.js +++ b/lib/command/workers/runTests.js @@ -141,11 +141,19 @@ function initializeListeners() { const _steps = []; for (step of steps) { + const _args = []; + + if (step.args) { + for (const arg of step.args) { + arg && arg.$_root ? _args.push(JSON.stringify(arg).slice(0, 300)) : _args.push(arg); + } + } + _steps.push({ actor: step.actor, name: step.name, status: step.status, - args: step.args, + agrs: _args, startedAt: step.startedAt, startTime: step.startTime, endTime: step.endTime,