OCPBUGS-100190, CONSOLE-5234: Remove Cypress CI jobs, switch e2e-gcp-console to Playwright - #82685 - #82685
OCPBUGS-100190, CONSOLE-5234: Remove Cypress CI jobs, switch e2e-gcp-console to Playwright - #82685#82685shahsahil264 wants to merge 5 commits into
Conversation
…right - Update e2e-gcp-console to use console-playwright-runner image and run Playwright via test-prow-e2e.sh (which now runs Playwright) - Update e2e-gcp-console-techpreview similarly - Remove e2e-playwright and e2e-playwright-techpreview jobs (redundant now that e2e-gcp-console runs Playwright) - Remove Cypress credentials and dependencies - Reduce timeout from 6h to 2h (Playwright is faster)
Generated by `make jobs` — removes e2e-playwright and e2e-playwright-techpreview presubmit job definitions that are no longer needed. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Sahil Shah <sahshah@redhat.com>
|
@shahsahil264: This pull request references CONSOLE-5234 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: ⛔ Files ignored due to path filters (3)
📒 Files selected for processing (3)
WalkthroughConsole CI configurations now resolve Yarn from ChangesConsole CI updates
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
/hold |
…sion Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Sahil Shah <sahshah@redhat.com>
|
put hold on this PR, as waiting for the complete migration of playwrights tests, once its done we can merge this! |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@ci-operator/config/openshift/console/openshift-console-main.yaml`:
- Around line 37-38: Update the generated Yarn wrapper command in the Docker
build so the emitted script contains "$@" rather than "\$@". Remove the extra
escaping while preserving the existing node path and argument forwarding
behavior.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository YAML (base), Central YAML (inherited)
Review profile: CHILL
Plan: Enterprise
Run ID: 91deb53f-f19a-453d-9c39-dfc5a16f0fde
📒 Files selected for processing (1)
ci-operator/config/openshift/console/openshift-console-main.yaml
The triple-escaped \"\\\$@\" produced "\$@" in the generated script, preventing argument forwarding. Use \"\$@\" to produce "$@". Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Sahil Shah <sahshah@redhat.com>
logonoff
left a comment
There was a problem hiding this comment.
you probably want to make the same change in the other branches tracking main? like release-5.0, release-4.23, release-5.1, ...
|
/retitle OCPBUGS-100190, CONSOLE-5234: Remove Cypress CI jobs, switch e2e-gcp-console to Playwright - #82685 |
|
@shahsahil264: This pull request references Jira Issue OCPBUGS-100190, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
The bug has been updated to refer to the pull request using the external bug tracker. This pull request references CONSOLE-5234 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
Apply the same e2e-gcp-console Playwright migration to release-4.23, release-5.0, and release-5.1 configs: switch image to console-playwright-runner, remove Cypress credentials, remove redundant e2e-playwright jobs, and use dynamic yarn path. Regenerated presubmits via make jobs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Sahil Shah <sahshah@redhat.com>
shahsahil264
left a comment
There was a problem hiding this comment.
Done — applied the same changes to release-5.1, release-5.0, and release-4.23 configs + regenerated presubmits.
|
[REHEARSALNOTIFIER]
Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
@shahsahil264: This pull request references Jira Issue OCPBUGS-100190, which is valid. 3 validation(s) were run on this bug
This pull request references CONSOLE-5234 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
/pj-rehearse auto-ack |
|
@logonoff: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: logonoff, shahsahil264 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@shahsahil264: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
Summary
Switch the OpenShift Console E2E CI jobs from Cypress to Playwright as part of the Cypress-to-Playwright migration (CONSOLE-5234).
Changes to
ci-operator/config/openshift/console/openshift-console-main.yaml:e2e-gcp-console(required E2E job):from: src→from: console-playwright-runner(Playwright needs Chromium which is pre-installed in this image)test-prow-e2e.shnow runs Playwright (updated in openshift/console#16883)CYPRESS_RECORD_KEYcredential mount (no longer needed)CYPRESS_PLUGIN_PULL_SPEC→PLUGIN_PULL_SPECdependencye2e-gcp-console-techpreview:Removed jobs:
e2e-playwright— redundant now thate2e-gcp-consoleruns Playwrighte2e-playwright-techpreview— redundant now thate2e-gcp-console-techpreviewruns PlaywrightGenerated files
ci-operator/jobs/openshift/console/openshift-console-main-presubmits.yaml— regenerated viamake jobsCompanion PR
test-prow-e2e.sh/cc @rhamilto @logonoff
Summary by CodeRabbit
console-playwright-runnerimage and removing Cypress-specific handling from the GCP E2E steps (noCYPRESS_RECORD_KEYusage remains in the updated job definitions).e2e-gcp-console-techpreview(withFEATURE_SET: TechPreviewNoUpgrade) and uses the Playwright TechPreview script./test-prow-e2e-techpreview.shinstead of the prior Playwright TechPreview script.timeout: 2h0m0sin bothe2e-gcp-consoleande2e-gcp-console-techpreview)..yarnrc.ymland uses it for bothyarn install --immutableand a generated/usr/local/bin/yarnwrapper (including corrected argument forwarding).PLUGIN_PULL_SPEC, removes redundant Playwright job wiring, and regenerates presubmit configuration inci-operator/config/openshift/console/openshift-console-main.yamland the release-specific variants (release-4.23,release-5.0,release-5.1).