Skip to content

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

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

Closed
xMutaGenx opened this issue Oct 31, 2018 · 1 comment
Closed

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

xMutaGenx opened this issue Oct 31, 2018 · 1 comment

Comments

@xMutaGenx
Copy link
Contributor

xMutaGenx commented Oct 31, 2018

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

@kobenguyent
Copy link
Collaborator

kobenguyent commented Nov 1, 2018

Point 2 -> I think this is also happening when not using either retry or only. I make a PR here to fix this #1303

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

No branches or pull requests

2 participants