Add tests to Ongoing Run from the Tests page
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.
@tikolakin please feel free to add any details.
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"
where user can choose existing run a lunch a new one
However, there are at least 2 places where user could choose to run tests
2nd - test suite ...
if we can extend the run modal with capability to choose an existing run it should address use case completely
@littlefrontender do you need backend here?
related to https://github.com/testomatio/testomatio/issues/5321 https://github.com/testomatio/moonactive-issues/issues/200
need runs configuration from @trumenov
@littlefrontender Not fully implemented:
Please, fix the issues below:
- If runs are located in run groups, 'No runs found.'
- no able to add tests to some runs; error is shown
- When searching by run title, the system does not return the correct response, even when the title is valid.
- Some completed/archived runs are shown in the modal window:
Run tab:
Test tab:
- 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:
- to separate the runs with the same name, add more details in modal window, e.g. test counts or test plan.
- Search doesn't work properly; @littlefrontender
- By plan, the result is found; ✔
- 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
- 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
- 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
- Modal window is improved ✔
- Placeholder is changed to 'Search run by title';
- More details to runs are added (plan + amount of tests);
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
@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 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.
Feature is fully implemented.
https://github.com/user-attachments/assets/d71678a9-dbfd-472c-aa8e-5846edef6756
@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 ?
@littlefrontender, could you also 'add tests to run' feature for folders?
@littlefrontender, please fix the issue 'No runs found', even when ongoing runs exist.
- 'add tests to run' feature for folders is added ✔️
Implemented fully.
- Feature is added to Suites/Folders/Tests;