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

some toggle buttons lack of unique identifiers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.18
    • Management Console
    • None
    • Low
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      For example, the toggle button on Node and Pods logs page don't have unique identifier, it's hard to locate these buttons during automation 
      
      `Select a path` toggle button has definition
      <button class="pf-v5-c-menu-toggle" type="button" aria-label="Select a path" aria-expanded="false">
        <span class="pf-v5-c-menu-toggle__text">openshift-apiserver</span>
        <span class="pf-v5-c-menu-toggle__controls">...........
      </button>
      
      `Select a log file` toggle button
      <button class="pf-v5-c-menu-toggle" type="button" aria-expanded="false">
        <span class="pf-v5-c-menu-toggle__text">Select a log file
        </span><span class="pf-v5-c-menu-toggle__controls">.......
      </button>
      
      Since we have many toggle buttons on the page, it's quite hard to locate without distinguishable identifiers

      Version-Release number of selected component (if applicable):

          

      How reproducible:

      Always    

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          

      Expected results:

          

      Additional info:

          

            rh-ee-mziska Marek Ziska
            rhn-support-yapei YaDan Pei
            YaDan Pei YaDan Pei
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: