Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-57307

Time range and Refresh interval dropdown button lack of unique identifier

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • 4.21.0
    • Management Console
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • None
    • None
    • None
    • None
    • None
    • Hide
      Time range and Refresh interval lacked a unique identifier

      Affected versions: OpenShift Container Platform 4.19, 4.20, 4.21
      Show
      Time range and Refresh interval lacked a unique identifier Affected versions: OpenShift Container Platform 4.19, 4.20, 4.21
    • None
    • None
    • None
    • None

      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:

          

              rh-ee-kragarwa Krish Agarwal
              rhn-support-yapei YaDan Pei
              None
              None
              YaDan Pei YaDan Pei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: