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

Cypress: port protractor 'suites' (release, e2e, etc..)

XMLWordPrintable

      The suites Protractor uses/used need to be ported to Cypress.

      Maybe use https://github.com/annaet/cypress-tags  or we can convert arrays of tests (a 'suite'), into a comma-delimited list for the 'cypress run' cmd:

      Ex:
       cypress run --spec "cypress/integration/examples/actions.spec.js,cypress/integration/examples/files.spec.js"
       

      Currently, e2e and release run Cypress in headless mode:

      ./test-prow-e2e-.sh
      ...
      if [ "$SCENARIO" == "e2e" ] || [ "$SCENARIO" == "release" ]; then
       ./test-cypress.sh -h true
      elif [ "$SCENARIO" == "login" ]; then
       ./test-cypress.sh -p console -s 'tests/app/auth-multiuser-login.spec.ts' -h true
      elif [ "$SCENARIO" == "olmFull" ]; then
       ./test-cypress.sh -p olm -h true
      ...
      ...

      ...which currently runs console, dev-console, and olm tests:

      ./test-cypress.sh -h true
       if [ n "${headless}" ] && [ z "${pkg}" ]; then
         yarn run test-cypress-console-headless
         yarn run test-cypress-devconsole-headless
         yarn run test-cypress-olm-headless
         exit;
       fi
      

       

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

                Created:
                Updated:
                Resolved: