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

[Issue] All steps are posted to the same failed scenario on the second rerun of the test #30

Open
EugenePetrik opened this issue Jun 21, 2022 · 1 comment

Comments

@EugenePetrik
Copy link

EugenePetrik commented Jun 21, 2022

Tool:

  • WDIO + Cucumber

ReportPortal config:

config: {
        token: 'token',
        endpoint: 'endpoint',
        launch: 'QA Web Tests',
        project: 'project',
        mode: 'DEFAULT',
        debug: false,
        description: 'description',
        attachPicturesToLogs: true,
        rerun: true,
        cucumberNestedSteps: true,
        skippedIssue: true,
},

Turn on rerun: true flag.

Example:
We have two scenarios - one pass and the second one is fail.

image

If we go into the failed scenario, we can see why it doesn't work after the second run.
In addition, we see the steps from the passed scenario and the steps from the first one that failed.

image

Expected result:
It would be nice to have both launches of the failed tests and mark the test based on the corresponded latest result.
Example:

  1. First test failed / Second test passed - Result: passed
  2. First test failed / Second test failed - Result: failed
@chivekrodis
Copy link
Contributor

Hey @EugenePetrik
Looking to the your config and screens it looks like something wrong because according to the config you reported launch with cucumberNestedSteps: true but the screen looks like cucumberNestedSteps: false
Maybe it mistake and you have ran tests with not the same config?
Also unfortunately I cannot reproduce this issue maybe you can provide test example?
Thank in advance

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

2 participants