Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tekton]: QE for Tekton plugin #551

Closed
1 task done
Tracked by #113
divyanshiGupta opened this issue Jul 20, 2023 · 3 comments
Closed
1 task done
Tracked by #113

[Tekton]: QE for Tekton plugin #551

divyanshiGupta opened this issue Jul 20, 2023 · 3 comments

Comments

@divyanshiGupta
Copy link
Collaborator

divyanshiGupta commented Jul 20, 2023

Description:

Test Tekton plugin and update the test plan

Acceptance Criteria:

  • Test Plan
@josephca
Copy link

josephca commented Aug 14, 2023

Hi @debsmita1,

Please review the test case below. Thanks!

Prereqs (readme/instruction):

  1. Install kubernetes plugins (@backstage/plugin-kubernetes and @backstage/plugin-kubernetes-backend)
  2. configure Kubernetes plugin and connects to the cluster using a ServiceAccount

Tekton plugin install and verification:

  1. install tekton plugin and enable it
  2. open backstage application and select a component from the catalog page
  3. go to the CI/CD tab
  4. verify CI/CD tab displays the latest PipelineRun resources associated to a Kubernetes cluster. The resource includes tasks to complete
  5. hover the mouse pointer on a task card and check the steps to complete
  6. click 'GO TO TEKTON' option at the bottom and check it redirects you to the TEKTON tab
  7. from TEKTON tab, check pipeline runs related to the cluster.
  8. verify if moving to next/prev/first/last page works in the pipeline runs list page
  9. click on the Task Status bar of a pipelinerun in the pipelinerun list to open a modal
  10. verify the modal has a list of tasks on the left and the corresponding task logs on the right
  11. verify that clicking on a PipelineRun in the PipelineRun list opens the PipelineRun visualization

@debsmita1
Copy link
Member

Hi @debsmita1,

Please review the test case below. Thanks!

Prereqs (readme/instruction):

  1. Install kubernetes plugins (@backstage/plugin-kubernetes and @backstage/plugin-kubernetes-backend)
  2. configure Kubernetes plugin and connects to the cluster using a ServiceAccount

Tekton plugin install and verification:

  1. install tekton plugin and enable it
  2. open backstage application and select a component from the catalog page
  3. go to the CI/CD tab
  4. verify CI/CD tab displays the latest PipelineRun resources associated to a Kubernetes cluster. The resource includes tasks to complete
  5. hover the mouse pointer on a task card and check the steps to complete

you can click on a task bubble to view the pipeline run logs. It will open a modal showing the task logs of the task bubble the user selects on the Latest PipelineRun Visualization.

  1. click 'GO TO TEKTON' option at the bottom and check it redirects you to the TEKTON tab
  2. from TEKTON tab, check pipeline runs related to the cluster.
  3. verify if moving to next/prev/first/last page works in the pipeline runs list page
  4. click on the Task Status bar of a pipelinerun in the pipelinerun list to open a modal
  5. verify the modal has a list of tasks on the left and the corresponding task logs on the right
  6. verify that clicking on a PipelineRun in the PipelineRun list opens the PipelineRun visualization

@josephca
Copy link

@debsmita1 Thanks for the input. I updated the test case with your input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants