Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mocha-allure-reporter: Cannot read property 'currentStep' of undefined #307

Open
ajmalkhan92 opened this issue Jul 3, 2021 · 1 comment

Comments

@ajmalkhan92
Copy link

ajmalkhan92 commented Jul 3, 2021

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')();
@darkallure
Copy link

@ajmalkhan92 any update on this issue? Did you manage to solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants