Skip to content

run-multiple, retry, and only, don't fully work together #1299

Closed
@xMutaGenx

Description

@xMutaGenx

What are you trying to achieve?

Trying to run a single test with run-multiple, on a single chrome browser just to validate the functionality of retries and only.

What do you get instead?

There are multiple issues here:

  1. retry and only don't mix together as it seems like the test doesn't actually get retried multiple times, if you only have retry the test will get retried multiple times ref other issue raised: Retry can't be used with Only #1256
  2. We're also using mochawesome reporter with unique screenshots, when both rety and only are set, the additional context where the screenshot would be attached is not there (even though the screenshot is taken)

Provide test source code if related

Feature('Failing').retry(3);

Scenario.only('Failing test @live @desktop', (I) => {

    I.amOnPage('/');
    I.see('this is going to fail');

});

Details

  • CodeceptJS version: 1.4.4
  • NodeJS Version: 8.9.1
  • Operating System: OSX
  • WebDriverIO: 4.14.0

Basic example config file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions