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
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: