Skip to content

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

@ajmalkhan92

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

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