action #164973
closedFilter area in test overview not responsive to clicks when flavor contains spaces
0%
Description
The no filter present, click to toggle form area is not responding to clicks:
https://openqa.suse.de/tests/overview?groupid=288&groupid=326&groupid=386&groupid=461
A javascript error can be observed in the dev console in the browser:
bootstrap.js:2 Uncaught DOMException: Failed to execute 'querySelector' on 'Document': '#res_Windows 10 BIOS_x86_64_wsl-main+register' is not a valid selector.
at r (https://openqa.suse.de/asset/d62d3d0525/bootstrap.js:594:899)
at cs._configAfterMerge (https://openqa.suse.de/asset/d62d3d0525/bootstrap.js:594:69149)
at cs._getConfig (https://openqa.suse.de/asset/d62d3d0525/bootstrap.js:594:69030)
at new W (https://openqa.suse.de/asset/d62d3d0525/bootstrap.js:594:7409)
at new cs (https://openqa.suse.de/asset/d62d3d0525/bootstrap.js:594:62571)
at https://openqa.suse.de/asset/d62d3d0525/bootstrap.js:6:196
at NodeList.forEach (<anonymous>)
at setupForAll (https://openqa.suse.de/asset/d62d3d0525/bootstrap.js:6:185)
at HTMLDocument.<anonymous> (https://openqa.suse.de/tests/overview?groupid=288&groupid=326&groupid=386&groupid=461:30:13)
at e (https://openqa.suse.de/asset/d62d3d0525/bootstrap.js:2:27028)
Suggestions¶
- Investigate the Javascript error
- For reference https://openqa.suse.de/tests/overview?distri=sle&version=15-SP6&build=20240806-1&groupid=427 works fine and reveals a form when the filter area is clicked
- The flavor seems to be used as an id, which is problematic when it contains spaces
Updated by rbranco 2 months ago
mkittler wrote in #note-3:
Can you state what jobs you expected to be displayed and how the actually displayed jobs differ from that? We cannot work on a ticket that uses vague expressions like "does not work" and "in some cases" to describe the problem.
In this case I want to add a comment to all failing jobs and I can't do it because I can't apply a filter. It does nothing when I click in the Filter area, in contrast to https://openqa.suse.de/tests/overview?distri=sle&version=15-SP6&build=20240806-1&groupid=427
Updated by tinita 2 months ago
- Status changed from In Progress to Feedback
https://github.com/os-autoinst/openQA/pull/5835 Ensure valid format for HTML element ids