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

disabling auto injection does not work

    XMLWordPrintable

Details

    Description

      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:

      Attachments

        Activity

          People

            rhn-support-tokeefe Tim O'Keefe
            rkratky@redhat.com Robert Krátký
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: