Skip to content

CONSOLE-5234: Remove Cypress CI jobs, switch e2e-gcp-console to Playwright - #82682

Closed
shahsahil264 wants to merge 1 commit into
openshift:mainfrom
shahsahil264:CONSOLE-5234
Closed

CONSOLE-5234: Remove Cypress CI jobs, switch e2e-gcp-console to Playwright#82682
shahsahil264 wants to merge 1 commit into
openshift:mainfrom
shahsahil264:CONSOLE-5234

Conversation

@shahsahil264

@shahsahil264 shahsahil264 commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

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):

  • Switch from: srcfrom: console-playwright-runner (Playwright needs Chromium which is pre-installed in this image)
  • test-prow-e2e.sh now runs Playwright (updated in openshift/console#16883)
  • Remove CYPRESS_RECORD_KEY credential mount (no longer needed)
  • Change CYPRESS_PLUGIN_PULL_SPECPLUGIN_PULL_SPEC dependency
  • Reduce timeout from 6h to 2h (Playwright is significantly faster)

e2e-gcp-console-techpreview:

  • Same image and credential changes as above

Removed jobs:

  • e2e-playwright — redundant now that e2e-gcp-console runs Playwright
  • e2e-playwright-techpreview — redundant now that e2e-gcp-console-techpreview runs Playwright

Companion PR

/cc @rhamilto @logonoff

Summary by CodeRabbit

  • Migrates OpenShift Console GCP E2E CI jobs from Cypress to Playwright using the console-playwright-runner image and Playwright test scripts.
  • Removes Cypress credentials and dependency configuration, replacing CYPRESS_PLUGIN_PULL_SPEC with PLUGIN_PULL_SPEC.
  • Adds the optional TechPreview Playwright job and removes redundant Playwright job definitions.
  • Reduces the E2E job timeout from six hours to two hours.

…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)
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jul 30, 2026
@openshift-ci
openshift-ci Bot requested a review from logonoff July 30, 2026 17:40
@openshift-ci-robot

openshift-ci-robot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

@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.

Details

In response to this:

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):

  • Switch from: srcfrom: console-playwright-runner (Playwright needs Chromium which is pre-installed in this image)
  • test-prow-e2e.sh now runs Playwright (updated in openshift/console#16883)
  • Remove CYPRESS_RECORD_KEY credential mount (no longer needed)
  • Change CYPRESS_PLUGIN_PULL_SPECPLUGIN_PULL_SPEC dependency
  • Reduce timeout from 6h to 2h (Playwright is significantly faster)

e2e-gcp-console-techpreview:

  • Same image and credential changes as above

Removed jobs:

  • e2e-playwright — redundant now that e2e-gcp-console runs Playwright
  • e2e-playwright-techpreview — redundant now that e2e-gcp-console-techpreview runs Playwright

Companion PR

/cc @rhamilto @logonoff

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.

@openshift-ci
openshift-ci Bot requested a review from rhamilto July 30, 2026 17:40
@openshift-ci openshift-ci Bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 30, 2026
@openshift-ci

openshift-ci Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

PR needs rebase.

Details

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.

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@shahsahil264, pj-rehearse: unable to determine affected jobs. This could be due to a branch that needs to be rebased. ERROR:

couldn't prepare candidate: couldn't rebase candidate onto 748622b82d25da7bf47ce751c49a1f243e23a7ce due to conflicts
Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse list to get an up-to-date list of affected jobs
Comment: /pj-rehearse abort to abort all active rehearsals
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

@coderabbitai

coderabbitai Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: 36280db9-51fe-4eb2-84b6-8f8fbe719a91

📥 Commits

Reviewing files that changed from the base of the PR and between 748622b and e8744cb.

📒 Files selected for processing (1)
  • ci-operator/config/openshift/console/openshift-console-main.yaml

Cache: Disabled due to data retention organization setting

Knowledge base: Disabled due to data retention organization setting


Walkthrough

The console CI configuration replaces the existing GCP E2E setup with Playwright-based execution, shortens its timeout, removes the standalone Playwright job, and adds an optional TechPreview E2E job.

Changes

Console E2E job configuration

Layer / File(s) Summary
Update console E2E job configuration
ci-operator/config/openshift/console/openshift-console-main.yaml
The standard GCP console job uses ./test-prow-e2e.sh, PLUGIN_PULL_SPEC, a two-hour timeout, and no Cypress credentials. A new optional TechPreview job runs ./test-prow-e2e-techpreview.sh with FEATURE_SET: TechPreviewNoUpgrade; the prior e2e-playwright entry is removed.

Estimated code review effort: 2 (Simple) | ~10 minutes

Suggested labels: lgtm, approved, rehearsals-ack

✨ Finishing Touches 💡 1
⚔️ Resolve merge conflicts 💡
  • Resolve merge conflict in branch CONSOLE-5234
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

@shahsahil264
shahsahil264 deleted the CONSOLE-5234 branch July 30, 2026 17:41
@openshift-ci

openshift-ci Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: shahsahil264
Once this PR has been reviewed and has the lgtm label, please assign spadgett for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@shahsahil264

Copy link
Copy Markdown
Contributor Author

#82685

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

Labels

jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants