-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.21.0
-
None
This is a clone of issue OCPBUGS-57307. The following is the description of the original issue:
—
Description of problem:
lacking of unique identifier makes it really hard to locate element in e2e automation
Version-Release number of selected component (if applicable):
4.19.0-0.nightly-2025-06-09-210043
How reproducible:
Always
Steps to Reproduce:
1. navigate to Observe -> Dashboard page, inspect `Time range` and `Refresh interval` button definition
2.
3.
Actual results:
There isn't an unique identifier for the dropdown button, for example this is the `Time range` outer HTML definition <div class="pf-v6-l-stack"><div class="pf-v6-l-stack__item"><label for="monitoring-time-range-dropdown">Time range</label></div><div class="pf-v6-l-stack__item"><button class="pf-v6-c-menu-toggle" type="button" aria-expanded="false" data-ouia-component-type="PF6/MenuToggle" data-ouia-safe="true" data-ouia-component-id="OUIA-Generated-MenuToggle-1" style="width: 200px;"><span class="pf-v6-c-menu-toggle__text">Last 30 minutes</span><span class="pf-v6-c-menu-toggle__controls"><span class="pf-v6-c-menu-toggle__toggle-icon"><svg class="pf-v6-svg" viewBox="0 0 320 512" fill="currentColor" aria-hidden="true" role="img" width="1em" height="1em"><path d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"></path></svg></span></span></button></div></div>
Expected results:
Lacking of unique identifier make e2e automation really hard to locate the element
Additional info:
- clones
-
OCPBUGS-57307 Time range and Refresh interval dropdown button lack of unique identifier
-
- Closed
-
- is blocked by
-
OCPBUGS-57307 Time range and Refresh interval dropdown button lack of unique identifier
-
- Closed
-
- is duplicated by
-
OCPBUGS-66389 Time range and Refresh interval dropdown button lack of unique identifier
-
- Closed
-
- links to