gemini-testing / testplane

Testplane (ex-hermione) browser test runner based on mocha and wdio
https://testplane.io
MIT License
710 stars 62 forks source link

Add ability to rerun all failed tests #953

Closed sipayRT closed 1 month ago

sipayRT commented 3 months ago

Contribution

Describe the user story

now, in order to restart only the failed tests, I need to use 2 plugins:

  1. https://github.com/gemini-testing/json-reporter to get the test results with json format
  2. https://github.com/gemini-testing/testplane-test-filter to run tests only specified in the json-file

Describe the solution you'd like

how it can work:

  1. run all tests in CI
  2. get the json-output with failed tests
  3. rerun only tests specified in the json-output (only failed)

Describe the drawbacks of your solution

No response

Describe alternatives you've considered

No response

Kabir-Ivan commented 1 month ago

Solved by https://github.com/gemini-testing/testplane/pull/973