Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-11245

Overlay E2E tests using plugin metadata for runtime configuration for PR runs.

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Normal Normal
    • 1.9.0
    • None
    • Test Framework
    • None
    • RHDH Install 3286

      Story

      E2E tests exist in workspace e2e-tests/ directories (e.g., workspaces/*/e2e-tests/). Currently, RHDH configuration is hardcoded in tests/config/dynamic-plugins.yaml with local paths.

        We want to:
        - Discover E2E tests from workspace e2e-tests/ directories
        - Use spec.appConfigExamples from plugin metadata (workspaces/<ws>/metadata/*.yaml) to configure RHDH plugin.
        - Replace local plugin paths with published OCI image references

        Current State

        - E2E test framework exists in workspaces/<ws>/e2e-tests/
        - Uses rhdh-e2e-test-utils for Playwright fixtures and deployment helpers
        - tests/config/dynamic-plugins.yaml contains hardcoded local paths:

        plugins:
          - package: ./dynamic-plugins/dist/backstage-community-plugin-tech-radar
            disabled: false

        Desired State similar to integration test in github actions.

        - Dynamic generation of dynamic-plugins.yaml using:
          - spec.packageName from metadata
          - spec.appConfigExamples[0].content for plugin configuration
          - Published OCI image references

        Acceptance Criteria

        - OpenShift CI job discovers workspaces with e2e-tests/ directory
        - Plugin metadata (spec.appConfigExamples) is used for RHDH configuration
        - Published OCI images are referenced instead of local paths

      Background

      Dependencies and Blockers

      QE impacted work

      Documentation impacted work

      Acceptance Criteria

      upstream documentation updates (design docs, release notes etc)

      Technical enablement / Demo

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

                Created:
                Updated: