Actions
action #153922
openAdding filter options like "Include job groups" in multi-job-group-id filtered view removes all job groups by one
Start date:
2024-01-19
Due date:
% Done:
0%
Estimated time:
Description
Observation¶
Initially reported by jeriveramoya in SUSE QE Tools workshop 2024-01-19 adding filter options like "Include job groups" in multi-job-group-id filtered view removes all job groups by one.
Steps to reproduce¶
- Go to a parent group test overview link from the index page, e.g. latest build in "SLE15" on https://openqa.suse.de, click middle mouse button on build to open a test overview like https://openqa.suse.de/tests/overview?distri=sle&version=15-SP6&build=46.40&groupid=110&groupid=118&groupid=129&groupid=265&groupid=478&groupid=266&groupid=116&groupid=296&groupid=257&groupid=313&groupid=476&groupid=131&groupid=262&groupid=130&groupid=268&groupid=143&groupid=530&groupid=146&groupid=263&groupid=264
- In the opened test overview page click the "Filter" box, add a text in "Include job groups, e.g. "YaST" and click "Apply"
- Observe that the resulting query URL is missing all groupid fields except one, e.g. https://openqa.suse.de/tests/overview?arch=&flavor=&machine=&test=&modules=&module_re=&group_glob=*YaST*¬_group_glob=&comment=&distri=sle&version=15-SP6&build=46.40&groupid=264#
Expected result¶
- All groupid parameters should be preserved, e.g. in the above example the resulting URL should be same as when just adding
&group_glob=*YaST*
to the original URL, https://openqa.suse.de/tests/overview?distri=sle&version=15-SP6&build=46.40&groupid=110&groupid=118&groupid=129&groupid=265&groupid=478&groupid=266&groupid=116&groupid=296&groupid=257&groupid=313&groupid=476&groupid=131&groupid=262&groupid=130&groupid=268&groupid=143&groupid=530&groupid=146&groupid=263&groupid=264&job_group_glob=*YaST*
Acceptance criteria¶
- AC1: Query URLs generated by openQA do not remove already present parameters unless they are with no value
Suggestions¶
- This might be special about the recently added parameter "job_group_glob" so take a look how that was added and you might spot a difference
Updated by okurz 11 months ago
- Related to action #134933: Filter openQA todo-jobs on /tests belonging to one "review squad" size:M added
Updated by okurz 11 months ago
- Related to action #154537: Clicking "Apply" on /tests/overview filter box looses all distri selections but one size:M added
Actions