intellij-openshift-connector
intellij-openshift-connector copied to clipboard
test: Added integration UI test cases
Purpose of This Change
This change sets up UI integration end-to-end tests for both GitHub Actions (GHA) and Jenkins. It includes configurations for Public and Cluster tests and introduces an abstract base test class that provides common methods for UI testing with the IntelliJ OpenShift toolkit.
Key Changes:
- Abstract Base Test Class: Created an abstract base test class, inherited by two subclasses: one for public tests and one for cluster tests. Individual test files inherit from these subclasses, allowing shared methods to be used
Test Cases Added for OpenShift Node (Logged out):
- Verify the default node is shown as
kubernetes.svcor similar when no kubeconfig is present or the user is not logged in. - Test the ability to log in to a cluster using different methods (e.g., username and password).
- Ensure the 'About' section shows appropriate information depending on whether the user is logged in or logged out.
Reason for Splitting Public and Cluster Tests:
Public tests run on GitHub Actions, while cluster tests, which require an OpenShift cluster thus Jenkins.
Was the change discussed in an issue?
fixes #???
How to test changes?
@martinszuc @lgrossma : can you review this one ? is it still releveant ?
@martinszuc @lgrossma : can you review this one ? is it still releveant ?
yes it is relevant but its outdated because it was blocked for some time by outdated ij-common-ui-test-library and login not refreshing the openshift item tree. Both are fixed now and I want to work on this PR this sprint.
@martinszuc looks nice ! UI tests seems ok on GH side, i noticed also tests on Jenkins for openshift clusters, very nice ! if things are ok for you, can you mark it as ready, and re-request review from @lgrossma ?
@martinszuc looks nice ! UI tests seems ok on GH side, i noticed also tests on Jenkins for openshift clusters, very nice ! if things are ok for you, can you mark it as ready, and re-request review from @lgrossma ?
Much appreciated! Currently working on some final touchups for the jenkins side. By evening I should have it tested and ready for reviews.
@martinszuc : those looks good to be merged right after 1.10.0 release
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
@martinszuc: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:
| Test name | Commit | Details | Required | Rerun command |
|---|---|---|---|---|
| ci/prow/e2e-4.11 | 836a5d1ce150809163c6859b76221ae794d27981 | link | true | /test e2e-4.11 |
Full PR test history. Your PR dashboard.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: lgrossma, sbouchet
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~OWNERS~~ [sbouchet]
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
/override ci/prow/e2e-openshift
@sbouchet: Overrode contexts on behalf of sbouchet: ci/prow/e2e-openshift
In response to this:
/override ci/prow/e2e-openshift
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.







