Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-18171

[2084102] [e2e] Many elements are lacking proper selector like 'data-test-id' or 'data-test'

XMLWordPrintable

    • Critical
    • No

      Description of problem:
      Since we move to the new UI, many elements have no proper selector like 'data-test-id' or 'data-test' or 'id'.

      Why this is a problem to qe:
      1. it's hard to locate the element while writing tests.
      2. tests is more flaky.
      3. tests is more fragile when UI changed.

      examples about elements lack proper selector:
      1. edit buttons on vm tabs: scheduling tab
      2. `id="pf-select-toggle-id-2098"` is used for dropdown menu, which is not usable. such as disk source dropdown while creating the VM, add nic/disk modal.

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

      How reproducible:

      Steps to Reproduce:
      1.
      2.
      3.

      Actual results:

      Expected results:

      Additional info:

              rh-ee-dorr Dana Orr
              gouyang1@redhat.com Guohua Ouyang
              Guohua Ouyang Guohua Ouyang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: