Im trying to add attachment to every step in allure. Unfortunately the object is empty { suites: [], options: { targetDir: 'allure-results' } and I couldn't access the current step. Works fine in mocha, Facing this issue only when executing in parallel
await allure.createAttachment(name, function () {
return new Buffer.from(png, 'base64')
}, 'image/png')();
Im trying to add attachment to every step in allure. Unfortunately the object is empty
{ suites: [], options: { targetDir: 'allure-results' }
and I couldn't access the current step. Works fine in mocha, Facing this issue only when executing in parallel