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

Cypress tests fail locally when authentication is disabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • 4.18
    • Dev Console
    • None
    • ODC Sprint 3263
    • 1
    • False
    • Hide

      None

      Show
      None

      Description of problem:

          When running a cypress test locally, with auth disabled, while logged in to kubeadmin, (e.g., running pipeline-ci.feature within test-cypress-pipelines), the before each fails because it expects there to be an empty message, when we are actually logged into kubeadmin

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

          4.18

      How reproducible:

          always

      Steps to Reproduce:

          1. Run console the ./contrib/oc-environment.sh way while logged into kubeadmin
          2. Run pipeline-ci.feature within the test-cypress-pipelines yarn script in the frontend folder
          
          

      Actual results:

          The after-each of the tests fail

      Expected results:

          The after-each of the tests are allowed to pass

      Additional info:

          

              rh-ee-jaclee Jackson Lee
              rh-ee-jaclee Jackson Lee
              Sanket Pathak Sanket Pathak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: