• Icon: Task Task
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • 1.10.0
    • None
    • Actions, Github, Overlay
    • None
    • RHDH F&UI plugins 3287

      .Description

      Migrate GitHub Actions E2E tests to workspaces/github-actions/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.

      DOCUMENTATION

      Follow the RHDH E2E Test Utils - Overlay Documentation for implementation guidance.

      Setup Prerequisites

      GitHub App Integration: GitHub App with repository and workflow access

      • GITHUB_APP_APP_ID, GITHUB_APP_CLIENT_ID, GITHUB_APP_CLIENT_SECRET
      • GITHUB_APP_PRIVATE_KEY, GITHUB_APP_WEBHOOK_URL, GITHUB_APP_WEBHOOK_SECRET

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

      integrations:
        github:
          ‑ host: github.com
            apps:
              ‑ appId: ${GITHUB_APP_APP_ID}
                clientId: ${GITHUB_APP_CLIENT_ID}
                clientSecret: ${GITHUB_APP_CLIENT_SECRET}
                webhookUrl: ${GITHUB_APP_WEBHOOK_URL}
                webhookSecret: ${GITHUB_APP_WEBHOOK_SECRET}
                privateKey: |
                  ${GITHUB_APP_PRIVATE_KEY}
      

      Test Repository: GitHub repository with active GitHub Actions workflows

      • Catalog entity with annotation github.com/project-slug

      Source Files (RHDH Core)

      Plugin Packages

      Package Type
      backstage-community-plugin-github-actions Frontend

      Acceptance Criteria

      1. Create Workspace Structure

      • [ ] Create workspaces/github-actions/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

      • [ ] Extract GitHub Actions specific tests from github-happy-path.spec.ts
      • [ ] Create tests/specs/github-actions.spec.ts

      4. Verify All Tests Pass

      • [ ] All relevant test cases pass

      Test Cases

      • GitHub Actions content verification (subset of github-happy-path)

      Reference

              jrichter@redhat.com Jan Richter
              skhileri Subhash Khileri
              RHDH Frontend Plugins & UI
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: