app icon indicating copy to clipboard operation
app copied to clipboard

Add tests to Ongoing Run from the Tests page

Open TetianaKhomenko opened this issue 1 year ago • 5 comments

Is your feature request related to a problem? Please describe.

Users need to add tests to the ongoing run while working on the Tests page.

Describe the solution you'd like

Add option to the multiselect menu to add selected tests/suites to an existing Run.

CleanShot 2024-09-26 at 14 43 10@2x

TetianaKhomenko avatar Sep 26 '24 12:09 TetianaKhomenko

@tikolakin please feel free to add any details.

TetianaKhomenko avatar Sep 26 '24 12:09 TetianaKhomenko

Hi @TetianaKhomenko , the "Run" button is still a good button to start with I was thinking more about this modal, that is shown after user click "Run" image where user can choose existing run a lunch a new one

tikolakin avatar Sep 26 '24 17:09 tikolakin

However, there are at least 2 places where user could choose to run tests 2nd - test suite ... image

if we can extend the run modal with capability to choose an existing run it should address use case completely

tikolakin avatar Sep 26 '24 18:09 tikolakin

@littlefrontender do you need backend here?

poliarush avatar Sep 26 '24 20:09 poliarush

related to https://github.com/testomatio/testomatio/issues/5321 https://github.com/testomatio/moonactive-issues/issues/200

littlefrontender avatar Feb 17 '25 10:02 littlefrontender

need runs configuration from @trumenov

TetianaKhomenko avatar May 07 '25 09:05 TetianaKhomenko

@littlefrontender Not fully implemented:

Please, fix the issues below:

  • If runs are located in run groups, 'No runs found.'

Image

  • no able to add tests to some runs; error is shown

Image

Image

  • When searching by run title, the system does not return the correct response, even when the title is valid.

Image

  • Some completed/archived runs are shown in the modal window:

Image

Run tab:

Image

Test tab:

Image

Image

Image

Image

  • If some tests were added before -> add them one more time -> no warning message, only success message is shown;

https://github.com/user-attachments/assets/c28413b5-c471-4d8e-af7d-a9db99f5bdef

Suggestion and little UI fixes:

  • in placeholder change to 'run' instead of suite:

Image

  • to separate the runs with the same name, add more details in modal window, e.g. test counts or test plan.

Image

Image

YanaBaranova0909 avatar Jun 23 '25 07:06 YanaBaranova0909

  1. Search doesn't work properly; @littlefrontender
  • By plan, the result is found; ✔

Image

  • By run title, the result isn’t found; ❎ + note that the page navigation is expanded for no reason

https://github.com/user-attachments/assets/12862969-3348-491d-9624-b5f89ce846ab

  1. Unfinished runs aren't fully displayed/or not displayed at all in the modal window

Classic Project:

https://github.com/user-attachments/assets/5e9f0cde-a8ad-4eef-971d-e25b38b125bc

https://github.com/user-attachments/assets/7c0c2d31-aca6-427a-963d-88bde3238641

BDD:

https://github.com/user-attachments/assets/794295f2-aefb-43fe-9478-434b23a4b164

  1. If runs are located in run groups, runs are displayed in the modal window ✔

https://github.com/user-attachments/assets/08870955-7a06-4aec-9e9a-627c7d8fd9cb

  1. Modal window is improved ✔
  • Placeholder is changed to 'Search run by title';
  • More details to runs are added (plan + amount of tests);

Image

YanaBaranova0909 avatar Jun 25 '25 10:06 YanaBaranova0909

Please review the case, when the full title is typed (or copy-pasted), the found results aren't matched. All runs are displayed instead of searched one.

https://github.com/user-attachments/assets/1211af62-8763-41e2-af5d-8a093aa580f5

YanaBaranova0909 avatar Jun 25 '25 15:06 YanaBaranova0909

@littlefrontender take a look. Adding filtered tests from suite/folder adds all tests instead of filtered ones

Description: When the user filters tests on the Tests page, and then selects a suite or folder that contains those filtered tests, clicking 'Add to Run' incorrectly adds all tests from the suite/folder, instead of just the filtered ones.

STR:

https://github.com/user-attachments/assets/dd5c5484-607f-445a-b9c9-aa99289dc4c9

Expected behavior: Only the filtered (selected) tests should be added to the ongoing run.

Actual behavior: All tests, ignoring the filter, are added to the ongoing run.

YanaBaranova0909 avatar Jun 29 '25 09:06 YanaBaranova0909

@YanaBaranova0909 when you select a folder at the bottom it is noted that 1 suite is selected. It turns out that you make changes with this suite. This works for all actions with multiselect. If the user wants to add only some tests, he will select some tests, and not the entire suite. So I don't think this is a bug.

Image

littlefrontender avatar Jun 30 '25 07:06 littlefrontender

Feature is fully implemented.

https://github.com/user-attachments/assets/d71678a9-dbfd-472c-aa8e-5846edef6756

YanaBaranova0909 avatar Jul 03 '25 12:07 YanaBaranova0909

@littlefrontender can we add this feature to the suite/test view as it's described here https://github.com/testomatio/app/issues/1134#issuecomment-2377611264 ?

TetianaKhomenko avatar Jul 07 '25 18:07 TetianaKhomenko

@littlefrontender, could you also 'add tests to run' feature for folders?

YanaBaranova0909 avatar Jul 09 '25 12:07 YanaBaranova0909

@littlefrontender, please fix the issue 'No runs found', even when ongoing runs exist.

Image
  • 'add tests to run' feature for folders is added ✔️

YanaBaranova0909 avatar Jul 11 '25 13:07 YanaBaranova0909

Implemented fully.

  • Feature is added to Suites/Folders/Tests;
Image Image Image

YanaBaranova0909 avatar Jul 15 '25 08:07 YanaBaranova0909