• Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major Major
    • 1.10.0
    • None
    • Keycloak Provider, Overlay
    • None

      Description

      Migrate Keycloak E2E tests to workspaces/keycloak/e2e-tests/.

      NOTE

      This task is based on the existing RHDH core test case and may have missed some details. Please review the original test files in RHDH core before implementation.

      Setup Prerequisites

      Keycloak Instance: Running Keycloak server with configured realm

      • KEYCLOAK_BASE_URL: Keycloak server URL
      • KEYCLOAK_LOGIN_REALM, KEYCLOAK_REALM: Realm names
      • KEYCLOAK_CLIENT_ID, KEYCLOAK_CLIENT_SECRET: OIDC client credentials

      Based on RHDH core config (.ibm/pipelines/resources/config_map/app-config-rhdh.yaml):

      catalog:
        providers:
          keycloakOrg:
            default:
              baseUrl: ${KEYCLOAK_BASE_URL}
              loginRealm: ${KEYCLOAK_LOGIN_REALM}
              realm: ${KEYCLOAK_REALM}
              clientId: ${KEYCLOAK_CLIENT_ID}
              clientSecret: ${KEYCLOAK_CLIENT_SECRET}
              schedule:
                frequency: { minutes: 60 }
                initialDelay: { seconds: 15 }
                timeout: { minutes: 50 }
      

      Keycloak Users/Groups: Pre-configured users and groups in the realm for testing

      Source Files (RHDH Core)

      Plugin Packages

      Package Type
      backstage-community-plugin-catalog-backend-module-keycloak-dynamic Backend

      Acceptance Criteria

      1. Create Workspace Structure

      • [ ] Create workspaces/keycloak/e2e-tests/
      • [ ] Copy standard config files from tech-radar reference
      • [ ] Update package.json name and playwright.config.ts project name

      2. Create RHDH Configuration (tests/config/)

      3. Migrate Test Files

      • [ ] Create tests/specs/catalog-users.spec.ts

      4. Verify All Tests Pass

      • [ ] All 2 test cases pass

      Test Cases (2 total)

      1-2. Keycloak catalog users tests

      Reference

              Unassigned Unassigned
              skhileri Subhash Khileri
              RHDH Security
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: