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

Use Cypress mock responses for multicluster cluster dropdown / pod testing


    • Icon: Story Story
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • None
    • None
    • HAC Infra OCP - Sprint 229, HAC Infra OCP - Sprint 230

      Mock a multicluster environment in our CI using Cypress, without provisioning multiple clusters using a combination of cy.intercept and updating window.SERVER flags in the before section of the test scenarios.

      Acceptance Criteria:
      Without provisioning additional clusters:

      1. mock server flags to render a cluster dropdown
      2. mock sample pod data for a fictional cluster

            jcaiani@redhat.com Joseph Caiani
            jcaiani@redhat.com Joseph Caiani
            YaDan Pei YaDan Pei
            0 Vote for this issue
            1 Start watching this issue