Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-2794

Cypress: Implement method to determine whether running OpenShift or K8s native

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • Tests
    • None
    • False
    • None
    • False
    • None
    • None
    • None
    • None

      In writing a cypress test it was brought to my attention that OpenShift Project dropdown will say "All Projects" when running OpenShift, and 'All Namespaces' when running native k8s. At the moment, we don't test native k8s in our CI, but we'd like to at some point.
       
      Cypress tests should utilize environmental param to determine if openshift is installed/running:

      `if (Cypress.env('openshift') === true) ...`.  

              dtaylor@redhat.com David Taylor
              dtaylor@redhat.com David Taylor
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: