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

Migrate TechDocs plugin E2E tests to Overlay (backstage workspace)

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • 1.10.0
    • None
    • Overlay, TechDocs
    • None

      Description

      Migrate TechDocs plugin E2E tests to workspaces/backstage/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

      TechDocs Plugin Enabled: Frontend and backend TechDocs plugins

      TechDocs Builder: Local or external builder configured

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

      techdocs:
        cache:
          ttl: 3600000 # 1 hour
      

      Test Entity: Catalog entity with TechDocs configured (e.g., Red Hat Developer Hub docs)

      Source Files (RHDH Core)

      Plugin Packages

      Package Type
      backstage-plugin-techdocs Frontend
      backstage-plugin-techdocs-backend-dynamic Backend
      backstage-plugin-techdocs-module-addons-contrib Frontend (addons)

      Acceptance Criteria

      1. Create Workspace Structure

      • [ ] Reuse workspaces/backstage/e2e-tests/

      2. Create RHDH Configuration (tests/config/)

      • [ ] Add techdocs plugins to dynamic-plugins.yaml
      • [ ] Configure techdocs cache settings

      3. Migrate Test Files

      • [ ] Create tests/specs/techdocs.spec.ts

      4. Verify All Tests Pass

      • [ ] All 5 test cases pass

      Test Cases (5 total)

      Verify that TechDocs is visible in sidebar

      Verify that TechDocs Docs page for Red Hat Developer Hub works

      Verify that TechDocs entity tab page for Red Hat Developer Hub works

      Verify that TechDocs Docs page for ReportIssue addon works

      Verify that TechDocs entity tab page for ReportIssue addon works

      Reference

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

                Created:
                Updated: