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

Create E2E tests to check log into CRW using OpenShift oAuth

XMLWordPrintable

    • Icon: QE Task QE Task
    • Resolution: Done
    • Icon: Major Major
    • 1.2.0.GA
    • 1.2.0.GA
    • testing
    • None

      We need to check next cases OpenShift oAuth by automatic E2E tests:

      • login to CRW using cluster-admin OpenShift account based on HTPasswd identity provider;
      • login to CRW using regular OpenShift account based on HTPasswd identity provider;

      There are upstream E2E test LoginExistedUserWithOpenShiftOAuthTest which could re-used for this propose, taking into account that we need to use next env variables to pass OpenShift account credentials:

        export CHE_TESTUSER_NAME=${OPENSHIFT_USERNAME}
        export CHE_TESTUSER_PASSWORD=${OPENSHIFT_PASSWORD}
        export CHE_TESTUSER_EMAIL="${OPENSHIFT_USERNAME}@1"
      

            sskoryk Serhii Skoryk
            dnochevn Dmytro Nochevnov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: