Skip to content

chore: add Local Test Runner support for E2E Tests for RHDH core. - #4023

Merged
openshift-merge-bot[bot] merged 8 commits into
redhat-developer:mainfrom
subhashkhileri:local-test-runner
Jan 29, 2026
Merged

chore: add Local Test Runner support for E2E Tests for RHDH core.#4023
openshift-merge-bot[bot] merged 8 commits into
redhat-developer:mainfrom
subhashkhileri:local-test-runner

Conversation

@subhashkhileri

@subhashkhileri subhashkhileri commented Jan 20, 2026

Copy link
Copy Markdown
Member

Description

https://issues.redhat.com/browse/RHIDP-11483

Which issue(s) does this PR fix

  • Fixes #?

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

Comment thread .ibm/pipelines/utils.sh Outdated
@christoph-jerolimov

Copy link
Copy Markdown
Member

/cc @jrichter1 @christoph-jerolimov

@christoph-jerolimov

Copy link
Copy Markdown
Member

@github-actions

Copy link
Copy Markdown
Contributor

The image is available at:

/test e2e-ocp-helm

@subhashkhileri subhashkhileri changed the title local test runner chore(e2e) : Add Local Test Runner support for E2E Tests for RHDH core. Jan 20, 2026
@github-actions

Copy link
Copy Markdown
Contributor

The image is available at:

/test e2e-ocp-helm

@github-actions

Copy link
Copy Markdown
Contributor

The image is available at:

/test e2e-ocp-helm

@gustavolira

Copy link
Copy Markdown
Member

Comment thread e2e-tests/local-test-setup.sh Outdated
Comment thread e2e-tests/local-run.sh Outdated
Comment thread e2e-tests/local-run.sh Outdated
Comment thread e2e-tests/container-init.sh Outdated
Comment thread e2e-tests/container-init.sh Outdated
Comment thread e2e-tests/container-init.sh Outdated
@subhashkhileri subhashkhileri changed the title chore(e2e) : Add Local Test Runner support for E2E Tests for RHDH core. chore(e2e) : add Local Test Runner support for E2E Tests for RHDH core. Jan 21, 2026
@subhashkhileri subhashkhileri changed the title chore(e2e) : add Local Test Runner support for E2E Tests for RHDH core. chore : add Local Test Runner support for E2E Tests for RHDH core. Jan 21, 2026
@subhashkhileri subhashkhileri changed the title chore : add Local Test Runner support for E2E Tests for RHDH core. chore: add Local Test Runner support for E2E Tests for RHDH core. Jan 21, 2026
@zdrapela

Copy link
Copy Markdown
Member

/review
-i

@rhdh-qodo-merge

Copy link
Copy Markdown

Persistent review updated to latest commit 82835ea

@zdrapela zdrapela left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would say this is ready to be used by RHDH devs. It works as expected with OCP

log::info "To run tests:"
echo " cd e2e-tests"
echo " yarn install"
echo " yarn playwright test --headed"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this can contain the --project=... with the specific project. Without the project specified, it will run all of them. Also the --headed can be explained (you often want to run it headlessly)

Extend local test runner to support non-OpenShift Kubernetes platforms:
- Derive CONTAINER_PLATFORM from job name (*aks*, *eks*, *gke*, *osd*)
- Add platform-specific cluster login (oc for OCP/OSD, kubectl for others)
- Handle service account token creation for non-OpenShift clusters
- Update container-init.sh to configure kubectl context for AKS/EKS/GKE
- Add interactive menu options for AKS, EKS, GKE job selection
- Update help text and examples for multi-platform usage

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

🚫 Image Push Skipped.

The container image push was skipped because the build was skipped (either due to [skip-build] tag or no relevant changes with existing image)

@github-actions

Copy link
Copy Markdown
Contributor

@zdrapela

Copy link
Copy Markdown
Member

/lgtm

@github-actions

Copy link
Copy Markdown
Contributor

@openshift-ci openshift-ci Bot removed the lgtm label Jan 29, 2026
@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown
Contributor

@zdrapela

Copy link
Copy Markdown
Member

/lgtm

@openshift-ci openshift-ci Bot added the lgtm label Jan 29, 2026
@albarbaro

Copy link
Copy Markdown
Member

/lgtm

@openshift-ci

openshift-ci Bot commented Jan 29, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: albarbaro, teknaS47, zdrapela

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot
openshift-merge-bot Bot merged commit ea67e7e into redhat-developer:main Jan 29, 2026
21 checks passed
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.

6 participants