Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-1750

Run`test-oauth` test against CRW 2.8.0 with correct set of parameters

XMLWordPrintable

    • False
    • False
    • Undefined
    • QE-2021-05-26 (Sprint: 202)

      `test-oauth` E2E test is failing on CRW 2.8.0 because of outdated set of parameters:
      https://main-jenkins-csb-crwqe.apps.ocp4.prod.psi.redhat.com/job/CodereadyWorkspaces/job/e2e/job/basic/job/typescript-tests/4321/console

                   ‣ DriverHelper.waitVisibility By(xpath, //input[@name='approve'])
                   ‣ DriverHelper.waitAndClick - Polling timed out attempt #840, retrying with 1000ms timeout
           1) Login to OCP
         [ERROR] Test is failed.
         Additional information (logs, dumps, screenshots) you can find in the
         "./report/Link_users_Login_to_OCP" folder.
       
       
         0 passing (14m)
         1 failing
       
         1) Link users
              Login to OCP:
            TimeoutError: Exceeded maximum clicking attempts, the 'By(xpath, //input[@name='approve'])' element is not clickable
             at DriverHelper.waitAndClick (/tmp/e2e-codeready/.tmp/che/tests/e2e/dist/utils/DriverHelper.js:233:15)
             at runMicrotasks (<anonymous>)
             at processTicksAndRejections (internal/process/task_queues.js:93:5)
      

      It's affecting:

      Correct set of parameters https://main-jenkins-csb-crwqe.apps.ocp4.prod.psi.redhat.com/job/CodereadyWorkspaces/job/e2e/job/basic/job/typescript-tests/4287/parameters/:

      -e TS_SELENIUM_VALUE_OPENSHIFT_OAUTH=true -e TS_SELENIUM_OCP_USERNAME=admin -e TS_SELENIUM_OCP_PASSWORD=***
      

              oshmarai Shmaraiev Oleksandr
              dnochevn Dmytro Nochevnov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: