Uploaded image for project: 'Network Observability'
  1. Network Observability
  2. NETOBSERV-1488

add unique data-test attribute to ebpf privileged toggle in form view

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • None
    • None
    • Console Plugin
    • None
    • False
    • None
    • False
    • Low

      Description of problem:

      With new form view, ebpf privileged mode is enabled via toggle. The toggle selector does not have unique selector to be used in testing and hence it changes across different patternfly versions, for e.g:
      
      4.15 selector: 
      '#root_spec_agent_ebpf_privileged_field > .pf-v5-c-switch > .pf-v5-c-switch__toggle'
      
      4.14 selector: 
      '#root_spec_agent_ebpf_privileged_field > .pf-c-switch > .pf-c-switch__toggle 

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

      different selectors hence need to maintain different test code for OCP versions

      Expected results:

      unique data-test attribute for the toggle would help

            Unassigned Unassigned
            rhn-support-memodi Mehul Modi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: