Skip to content

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

Description

@ajmalkhan92

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')();

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions