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

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

Open
TAVkiev opened this issue Sep 8, 2021 · 1 comment
Open

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

TAVkiev opened this issue Sep 8, 2021 · 1 comment

Comments

@TAVkiev
Copy link

TAVkiev commented Sep 8, 2021

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
@evjlobanova
Copy link

@AmsterGet Can we added this issue to the next sprint?

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

No branches or pull requests

3 participants