Skip to content

[v5] Rerun of the tests not working with PublicReportingAPI #67

@TAVkiev

Description

@TAVkiev

Describe the bug
Rerun is working as expected without usage of @reportportal/agent-js-mocha/lib/publicReportingAPI
In case of using PublicReportingAPI.setTestCaseId in hook/tests or PublicReportingAPI.addAttributes in tests - rerun is not working as expected. The launch is showing label "Rerun", while tests - duplicating, tests not reruns. Information in PublicReportingAPI.setTestCaseId / PublicReportingAPI.addAttributes - static, the same from launch to launch.

To Reproduce
Run tests using API from PublicReportingAP, like PublicReportingAPI.setTestCaseId or PublicReportingAPI.addAttributes

Expected behavior
Tests rerun within one launch. without duplicating

Versions:

  • Report Portal 5.5.0
  • @reportportal/agent-js-mocha 5.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions