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

Identify repeating steps in console's Cypress test suits which could be covered by CLI

    XMLWordPrintable

Details

    • Spike
    • Resolution: Done
    • Major
    • None
    • None
    • Tests
    • None
    • HAC Infra OCP - Sprint 241

    Description

      Currently Cypress tests in console repo contain steps which are being executed on almost every test run. A good example is create namespace and delete namespace methods. Instead of running the functionality of these methods on every test, we could replace them with CLI calls, which would speed up the testing process. We will also need to keep the method as part of our tests, so the functionality is tested, but we dont need to run it in each test.

       

      AC:

      • Identify all the repeating steps/methods in console's Cypress test suits which could run using CLI
      • Create a story for each of these identified steps/methods so to run them using CLI 
        cy.exec(`...`)

         

      • The story should also be responsible for preserving the step/method as is but only running it once.

      Attachments

        Issue Links

          Activity

            People

              rh-ee-jonjacks Jon Jackson
              jhadvig@redhat.com Jakub Hadvig
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: