• Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major Major
    • 1.10.0
    • None
    • Overlay, Tekton
    • None

      Description

      Migrate Tekton E2E tests to workspaces/tekton/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

      OpenShift Pipelines Operator: Tekton/OpenShift Pipelines installed in the cluster

      Based on RHDH core resources (.ibm/pipelines/resources/pipeline-run/pipelines-operator.yaml):

      apiVersion: operators.coreos.com/v1alpha1
      kind: Subscription
      metadata:
        name: openshift‑pipelines‑operator
        namespace: openshift‑operators
      spec:
        channel: latest
        name: openshift‑pipelines‑operator‑rh
        source: redhat‑operators
        sourceNamespace: openshift‑marketplace
      

      Kubernetes Cluster Access: Service account with permissions to read Tekton resources

      • K8S_CLUSTER_TOKEN: Service account token for cluster access
      • K8S_CLUSTER_URL: Kubernetes API server URL

      Test Pipeline: Tekton Pipeline and PipelineRun with backstage.io/kubernetes-id label

      Source Files (RHDH Core)

      Plugin Packages

      Package Type
      backstage-community-plugin-tekton Frontend

      Acceptance Criteria

      1. Create Workspace Structure

      • [ ] Create workspaces/tekton/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/)

      • [ ] Create dynamic-plugins.yaml based on RHDH core dynamic-plugins.default.yaml:
        plugins:
          ‑ package: ./dynamic‑plugins/dist/backstage‑community‑plugin‑tekton
            disabled: false
            pluginConfig:
              dynamicPlugins:
                frontend:
                  backstage‑community.plugin‑tekton:
                    mountPoints:
                      ‑ mountPoint: entity.page.ci/cards
                        importName: TektonCI
                        config:
                          layout:
                            gridColumn: 1 / ‑1
                          if:
                            allOf:
                              ‑ isTektonCIAvailable
        

      3. Migrate Test Files

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

      4. Verify All Tests Pass

      • [ ] All 3 test cases pass

      Test Cases (3 total)

      1-3. Tekton CI plugin tests

      Reference

              Unassigned Unassigned
              skhileri Subhash Khileri
              RHDH Frontend Plugins & UI
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: