Add option to use the same run for Relaunched tests
Is your feature request related to a problem? Please describe. We want to include all the tests in a single run, even if some tests were relaunched or failed.
Describe the solution you'd like As a solution, we would like to have a checkbox in the relaunch modal window labeled "Report in the same run."
When this option is selected, Testomat will pass the same runId as a parameter to CI (TESTOMATIO_RUN).
When this option is disabled, Testomat creates a new run and passes its id. This is the current behavior.
Example:
solidgate
Hey, @PetroOv . Thanks for the feature request! We've implemented a new option that should cover your needs. In the Advanced Relaunch mode, you'll see a "Create new run" toggle:
- If the toggle is off, the same run is relaunched and reused;
- If the toggle is on, a new run is created.
Here's a short demo showing how it works.
https://github.com/user-attachments/assets/ac52a5cf-2277-4bfe-8f0b-ab1a0014efb8
@YanaBaranova0909 Great work, this fully addresses the task. However, I have one question regarding the demo video. After applying the filter, you select four tests one by one. Is there an option to "select all"?
@PetroOv At the moment, the 'select all' option is not yet available, but we're planning to implement a feature that will make it easier to select multiple tests in the near future. We'll let you know once it's released and what it will look like.
@YanaBaranova0909 Understood, looking forward to it. Thanks!
@PetroOv we've added Include all option to the Advanced Relaunch
need to add this use case to https://docs.testomat.io/project/runs/managing-runs/#advanced-relaunch
PR: https://github.com/testomatio/docs/pull/437