Uploaded image for project: 'OpenShift Service Mesh'
  1. OpenShift Service Mesh
  2. OSSM-2105

disabling auto injection does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • OSSM 2.3.0
    • OSSM 2.3.0
    • Kiali
    • None
    • False
    • None
    • False
    • If Release Note Needed, Set a Value
    • Set a Value

      two tests are failing on finding an element 

      button[data-test=enable_auto_injection] 

      affected feature file sidecar_injection.feature

      even if I try "Disable Auto Injection" by hand in kiali, it does not affect UI elements anyhow - meaning Enable Auto Injection button will not show up. 

      getbutton[data-test=enable_auto_injection]0AssertionErrorTimed out retrying after 40000ms: Expected to find element: button[data-test=enable_auto_injection], but never found it.
      
      cypress/integration/common/sidecar_injection.ts:248:8  
      
        246 |     cy.visit(`/console/namespaces/${this.targetNamespace}/workloads/${this.targetWorkload}?refresh=0`);
        247 |     cy.get('[data-test="workload-actions-dropdown"] button').click();
      > 248 |     cy.get(`button[data-test=${enableOrDisable}_auto_injection]`).click();
            |        ^
        249 |     ensureKialiFinishedLoading();
        250 | }
        251 | 
      
      

      links to failed tests:

        1. Screenshot from 2022-10-11 12-57-40.png
          78 kB
          Josune Cordoba Torrecilla
        2. image-2022-10-11-20-55-33-469.png
          29 kB
          Josune Cordoba Torrecilla
        3. image-2022-10-11-14-56-23-985.png
          67 kB
          Josune Cordoba Torrecilla

            Unassigned Unassigned
            rhn-support-pmarek Pavel Marek
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: