app icon indicating copy to clipboard operation
app copied to clipboard

Add option to use the same run for Relaunched tests

Open PetroOv opened this issue 1 year ago • 2 comments

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."

Screenshot 2024-06-18 at 13 37 46

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: Screenshot 2024-06-18 at 13 52 49

PetroOv avatar Jun 18 '24 10:06 PetroOv

solidgate

poliarush avatar Jun 18 '24 15:06 poliarush

CleanShot 2024-06-20 at 08 41 33@2x

TetianaKhomenko avatar Jun 20 '24 06:06 TetianaKhomenko

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 avatar Apr 30 '25 15:04 YanaBaranova0909

@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 avatar May 02 '25 07:05 PetroOv

@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 avatar May 02 '25 08:05 YanaBaranova0909

@YanaBaranova0909 Understood, looking forward to it. Thanks!

PetroOv avatar May 02 '25 09:05 PetroOv

@PetroOv we've added Include all option to the Advanced Relaunch

Image

TetianaKhomenko avatar Aug 16 '25 16:08 TetianaKhomenko

need to add this use case to https://docs.testomat.io/project/runs/managing-runs/#advanced-relaunch

TetianaKhomenko avatar Aug 16 '25 16:08 TetianaKhomenko

PR: https://github.com/testomatio/docs/pull/437

iaza18 avatar Aug 23 '25 18:08 iaza18