Skip to content

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

Open
@EugenePetrik

Description

@EugenePetrik

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions