Skip to content

chore(e2e): remove kubernetes plugin tests#4527

Open
dzemanov wants to merge 1 commit intoredhat-developer:mainfrom
dzemanov:remove-kubernetes-e2e
Open

chore(e2e): remove kubernetes plugin tests#4527
dzemanov wants to merge 1 commit intoredhat-developer:mainfrom
dzemanov:remove-kubernetes-e2e

Conversation

@dzemanov
Copy link
Copy Markdown
Member

@dzemanov dzemanov commented Apr 2, 2026

Description

This change removes the e2e tests for the Kubernetes plugin, and related code that is only used by this test.
Roles created specifically for this plugin remain as they are used also for topology plugin tests.

Which issue(s) does this PR fix

PR acceptance criteria

Please make sure that the following steps are complete:

  • GitHub Actions are completed and successful
  • Unit Tests are updated and passing
  • E2E Tests are updated and passing
  • Documentation is updated if necessary (requirement for new features)
  • Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

Signed-off-by: Dominika Zemanovicova <dzemanov@redhat.com>
@rhdh-qodo-merge
Copy link
Copy Markdown

@rhdh-qodo-merge rhdh-qodo-merge bot added the Tests label Apr 2, 2026
@rhdh-qodo-merge
Copy link
Copy Markdown

PR Type

Tests


Description

  • Remove Kubernetes plugin e2e test suite and related test utilities

  • Delete kubernetes-rbac.spec.ts test file with RBAC permission tests

  • Remove KubernetesPage helper class used only by Kubernetes tests

  • Remove KUBERNETES_COMPONENTS page object selectors no longer needed


File Walkthrough

Relevant files
Tests
kubernetes-rbac.spec.ts
Delete Kubernetes plugin RBAC e2e tests                                   

e2e-tests/playwright/e2e/plugins/kubernetes/kubernetes-rbac.spec.ts

  • Deleted entire test file containing Kubernetes plugin RBAC tests
  • Removed test cases for pod visibility and pod logs with different user
    permissions
  • Removed test setup and helper initialization code
+0/-95   
kubernetes.ts
Remove KubernetesPage test helper class                                   

e2e-tests/playwright/support/pages/kubernetes.ts

  • Deleted KubernetesPage helper class entirely
  • Removed verifyDeployment() method for deployment verification
  • Removed verifyPodLogs() method for pod logs testing
+0/-55   
page-obj.ts
Remove Kubernetes page object selectors                                   

e2e-tests/playwright/support/page-objects/page-obj.ts

  • Removed KUBERNETES_COMPONENTS object with all Kubernetes selectors
  • Deleted getClusterAccordion(), getStatus(), getPodLogsButton(), and
    getNotification() methods
  • Removed deprecated selectors like MuiAccordion and MuiSnackbarContent
+0/-58   

@rhdh-qodo-merge
Copy link
Copy Markdown

PR Code Suggestions ✨

No code suggestions found for the PR.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 2, 2026

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

Image was built and published successfully. It is available at:

@github-actions
Copy link
Copy Markdown
Contributor

This PR is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 21 days.

@github-actions github-actions bot added the Stale label Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant