Skip to content

CONSOLE-5409: Add Playwright e2e test for operator lifecycle metadata UI - #16701

Open
perdasilva wants to merge 1 commit into
openshift:mainfrom
perdasilva:operator-lifecycle-metadata-e2e
Open

CONSOLE-5409: Add Playwright e2e test for operator lifecycle metadata UI#16701
perdasilva wants to merge 1 commit into
openshift:mainfrom
perdasilva:operator-lifecycle-metadata-e2e

Conversation

@perdasilva

@perdasilva perdasilva commented Jul 2, 2026

Copy link
Copy Markdown

Analysis / Root cause:
The operator lifecycle metadata UI (Cluster Compatibility and Support Phase columns on the Installed Operators page) had no e2e test coverage. Since no catalog with real lifecycle metadata exists yet, the test uses mocked API responses to verify the UI renders correctly across all three states.

Solution description:
Adds a Playwright e2e test (frontend/e2e/tests/olm/operator-lifecycle-metadata.spec.ts), mock data helpers (frontend/e2e/mocks/operator-lifecycle.ts), and an InstalledOperatorsPage page object (frontend/e2e/pages/installed-operators-page.ts) that:

  1. Install the web-terminal operator from the redhat-operators catalog via k8sClient
  2. Poll subscription.status.installedCSV to detect when the operator CSV reaches Succeeded phase
  3. Mock the /api/olm/lifecycle/** endpoint using page.route() with a mutable reference pattern (consistent with update-modal.spec.ts)
  4. Read the cluster's actual releaseVersion from SERVER_FLAGS to build accurate mock data
  5. Skip automatically on clusters without the OLMLifecycleAndCompatibility feature gate enabled
  6. Verify three lifecycle states across test.step blocks:
    • Active support + compatible cluster — "Maintenance support" phase badge and "Compatible" indicator
    • Unsupported — all phases expired, shows "Unsupported" badge
    • Incompatible — cluster version not in compatibility list, shows "Incompatible" indicator
  7. Clean up the Subscription and CSVs in afterAll using Promise.allSettled so failures in one deletion don't block the others

The page object encapsulates locator composition — indicator/badge methods take displayName directly and resolve the operator row internally, keeping specs free of intermediate locators. navigateTo() accepts an optional namespace parameter, falling back to the all-namespaces view when omitted.

Also adds a data-test attribute to the operator row link in ClusterServiceVersionTableRow alongside the existing legacy data-test-operator-row, enabling idiomatic getByTestId() usage in the page object.

Mock dates are computed dynamically relative to the current date to avoid time-bomb failures.

Implements test-prow-playwright-e2e-techpreview.sh as the Prow CI entrypoint for the test: reads cluster credentials, calls contrib/create-user.sh, then runs the olm Playwright project scoped to operator-lifecycle-metadata.spec.ts.

Screenshots / screen recording:

Test setup:

  • Requires a cluster with the OLMLifecycleAndCompatibility feature gate enabled (for the OPERATOR_LIFECYCLE_METADATA feature flag)
  • The redhat-operators CatalogSource must be available in openshift-marketplace
  • On clusters without the feature gate, the test is automatically skipped
  • CI runs via test-prow-playwright-e2e-techpreview.sh

Test cases:

  • Lifecycle columns show "Compatible" and active support phase name when mock data includes the cluster version and current-date phases
  • Lifecycle columns show "Unsupported" badge when all mock phases have expired
  • Lifecycle columns show "Incompatible" when mock platform compatibility excludes the cluster version
  • Test is skipped on clusters without the OLMLifecycleAndCompatibility feature gate

Browser conformance:

  • Chrome

Additional info:
Verified against a live OCP 5.0 nightly cluster with the OLMLifecycleAndCompatibility feature gate enabled.

🤖 Generated with Claude Code

@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 2, 2026
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@perdasilva: This pull request explicitly references no jira issue.

Details

In response to this:

Analysis / Root cause:
The operator lifecycle metadata UI (Cluster Compatibility and Support Phase columns on the Installed Operators page) had no e2e test coverage. Since no catalog with real lifecycle metadata exists yet, the test uses mocked API responses to verify the UI renders correctly across all three states.

Solution description:
Adds a Playwright e2e test (frontend/e2e/tests/olm/operator-lifecycle-metadata.spec.ts) and mock data helpers (frontend/e2e/mocks/operator-lifecycle.ts) that:

  1. Install the web-terminal operator from the redhat-operators catalog via k8sClient
  2. Mock the /api/olm/lifecycle/** endpoint using page.route() with a mutable reference pattern (consistent with update-modal.spec.ts)
  3. Read the cluster's actual releaseVersion from SERVER_FLAGS to build accurate mock data
  4. Verify three lifecycle states across test.step blocks:
  • Active support + compatible cluster — "Maintenance support" phase badge and "Compatible" indicator
  • Self-support — all phases expired, shows "Self-support" badge
  • Incompatible — cluster version not in compatibility list, shows "Incompatible" indicator
  1. Clean up the Subscription and CSVs in afterAll

Mock dates are computed dynamically relative to the current date to avoid time-bomb failures.

Screenshots / screen recording:

Test setup:

  • Requires a cluster with TechPreviewNoUpgrade feature gate enabled (for the OPERATOR_LIFECYCLE_METADATA feature flag)
  • The redhat-operators CatalogSource must be available in openshift-marketplace

Test cases:

  • Lifecycle columns show "Compatible" and active support phase name when mock data includes the cluster version and current-date phases
  • Lifecycle columns show "Self-support" badge when all mock phases have expired
  • Lifecycle columns show "Incompatible" when mock platform compatibility excludes the cluster version

Browser conformance:

  • Chrome

Additional info:
Verified against a live OCP 5.0 nightly cluster with tech preview enabled.

🤖 Generated with Claude Code

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 review from cajieh and fsgreco July 2, 2026 10:12
@coderabbitai

coderabbitai Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

Walkthrough

Adds lifecycle mock factories, an installed-operators page object, and a Playwright e2e spec that installs an OLM subscription, intercepts lifecycle responses, and checks lifecycle badges for compatible, self-support, and incompatible states.

Changes

Operator lifecycle metadata E2E

Layer / File(s) Summary
Lifecycle payload factories
frontend/e2e/mocks/operator-lifecycle.ts
Defines LifecycleData, date helpers, phase generators, and three payload factories for active, expired, and incompatible lifecycle states.
Operator row accessors
frontend/e2e/pages/installed-operators-page.ts, frontend/packages/operator-lifecycle-manager/src/components/clusterserviceversion.tsx
Adds installed-operators row helpers and updates the operator name link test selector used to target each row.
Subscription setup and lifecycle checks
frontend/e2e/tests/olm/operator-lifecycle-metadata.spec.ts
Creates and waits for the OLM subscription, cleans up CSVs and the subscription, intercepts lifecycle API requests, and verifies the rendered lifecycle labels across three scenarios.

Estimated code review effort: 3 (Moderate) | ~20 minutes

🚥 Pre-merge checks | ✅ 13 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Test Structure And Quality ⚠️ Warning Many key Playwright assertions lack failure messages, so diagnostics are weak and the test misses the requested quality bar. Add diagnostic messages to the main expect calls; if you want stricter SRP, split the three lifecycle scenarios into separate it blocks.
Microshift Test Compatibility ⚠️ Warning New e2e spec uses OLM Subscription/ClusterServiceVersion APIs (operators.coreos.com) and lacks any MicroShift skip or apigroup guard. Add a MicroShift exclusion ([Skipped:MicroShift] or IsMicroShiftCluster() skip) or retag the test with an unsupported apigroup if it must remain e2e.
✅ Passed checks (13 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names ✅ Passed All Ginkgo titles in the new spec are static strings; no dynamic names, dates, UUIDs, or generated identifiers appear in test titles.
Single Node Openshift (Sno) Test Compatibility ✅ Passed Playwright test only installs an operator and verifies UI via mocked API; no node-count, topology, scheduling, or HA assumptions, and no SNO guard was needed.
Topology-Aware Scheduling Compatibility ✅ Passed The PR only adds e2e tests/mocks and a UI test-id attribute; no deployment manifests, controllers, replicas, affinities, or node selectors were introduced.
Ote Binary Stdout Contract ✅ Passed No OTE binary/process-level Go code was changed; the diff is TS/React only, with no stdout writes in main/TestMain/init or suite setup.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed The new e2e test uses only in-cluster resources and mocked API routes; no IPv4 literals, IP parsing, or public internet dependencies were found.
No-Weak-Crypto ✅ Passed Added files only mock lifecycle data, page-object locators, and UI tests; no weak crypto, custom crypto, or secret comparisons found.
Container-Privileges ✅ Passed The PR only changes frontend e2e/UI code; no touched file defines privileged/host*/allowPrivilegeEscalation/SYS_ADMIN settings.
No-Sensitive-Data-In-Logs ✅ Passed No new logs expose secrets/PII; the PR adds no console/log statements, and the only existing console.error calls use generic messages.
Title check ✅ Passed The title is concise and directly summarizes the main change: adding a Playwright e2e test for operator lifecycle metadata UI.
Description check ✅ Passed The description covers the required sections and details, though screenshots and reviewer/assignee info are still left incomplete.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🧹 Nitpick comments (3)
frontend/e2e/mocks/operator-lifecycle.ts (1)

1-84: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Consolidate duplicated shapes across type and factory functions.

The phase/platformCompatibility literal shape is declared three times (LifecycleData, activePhases, expiredPhases), and the schema string plus versions wrapper is repeated identically in all three factories. This makes it easy for the schema and mock shape to drift out of sync when one call site is updated but not the others.

♻️ Proposed consolidation
+type LifecyclePhase = { name: string; startDate: string; endDate: string };
+type PlatformCompatibility = { name: string; versions: string[] };
+
 export type LifecycleData = {
   package: string;
   schema: string;
   versions?: {
     name: string;
-    platformCompatibility?: { name: string; versions: string[] }[];
-    phases?: { name: string; startDate: string; endDate: string }[];
+    platformCompatibility?: PlatformCompatibility[];
+    phases?: LifecyclePhase[];
   }[];
 };

 const toDateStr = (d: Date): string => d.toISOString().slice(0, 10);

-const activePhases = (): { name: string; startDate: string; endDate: string }[] => {
+const activePhases = (): LifecyclePhase[] => {
   ...
 };

-const expiredPhases = (): { name: string; startDate: string; endDate: string }[] => {
+const expiredPhases = (): LifecyclePhase[] => {
   ...
 };
+
+const SCHEMA = 'io.openshift.operators.lifecycles.v1alpha1';
+
+const buildLifecycleData = (
+  packageName: string,
+  version: string,
+  clusterVersions: string[],
+  phases: LifecyclePhase[],
+): LifecycleData => ({
+  package: packageName,
+  schema: SCHEMA,
+  versions: [
+    {
+      name: version,
+      platformCompatibility: [{ name: 'openshift', versions: clusterVersions }],
+      phases,
+    },
+  ],
+});

 export const makeLifecycleActiveAndCompatible = (
   packageName: string,
   version: string,
   clusterVersion: string,
-): LifecycleData => ({
-  package: packageName,
-  schema: 'io.openshift.operators.lifecycles.v1alpha1',
-  versions: [
-    {
-      name: version,
-      platformCompatibility: [{ name: 'openshift', versions: [clusterVersion] }],
-      phases: activePhases(),
-    },
-  ],
-});
+): LifecycleData => buildLifecycleData(packageName, version, [clusterVersion], activePhases());
🤖 Prompt for 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.

In `@frontend/e2e/mocks/operator-lifecycle.ts` around lines 1 - 84, The lifecycle
mock shape is duplicated across LifecycleData, activePhases/expiredPhases, and
the three factory helpers, so centralize the shared
phase/platformCompatibility/version object types and the common schema/versions
wrapper. Reuse those shared symbols from operator-lifecycle.ts inside
makeLifecycleActiveAndCompatible, makeLifecycleSelfSupport, and
makeLifecycleIncompatible so the mock payload stays consistent when the schema
or version shape changes.
frontend/e2e/tests/olm/operator-lifecycle-metadata.spec.ts (2)

154-159: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Silent fallback on version-parse failure hides the real cause of later assertion failures.

If SERVER_FLAGS.releaseVersion is missing or has an unexpected format, clusterMinorVersion silently defaults to '4.18'. If that doesn't match the actual cluster version the UI compares against, the "compatible" step assertion will fail with no indication that the real root cause was a version-extraction problem rather than a UI/lifecycle-data bug.

♻️ Proposed fix to surface parse failures
     const versionMatch = releaseVersion.match(/^(\d+\.\d+)/);
-    const clusterMinorVersion = versionMatch ? versionMatch[1] : '4.18';
+    if (!versionMatch) {
+      throw new Error(`Unable to parse cluster minor version from releaseVersion: "${releaseVersion}"`);
+    }
+    const clusterMinorVersion = versionMatch[1];
🤖 Prompt for 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.

In `@frontend/e2e/tests/olm/operator-lifecycle-metadata.spec.ts` around lines 154
- 159, The version parsing in operator-lifecycle-metadata.spec.ts is silently
falling back to a hardcoded minor version, which hides the real failure source.
Update the logic around the SERVER_FLAGS.releaseVersion handling so the test
explicitly fails or reports a clear error when the releaseVersion is missing or
doesn’t match the expected format, instead of defaulting to 4.18. Use the
existing releaseVersion, versionMatch, and clusterMinorVersion flow in the
Installed Operators test to surface the parse problem before the later
compatibility assertion runs.

98-134: 🩺 Stability & Availability | 🔵 Trivial | ⚡ Quick win

Cleanup errors are fully swallowed, risking silent resource leaks across CI runs.

Both catch blocks discard every error without logging. If deletion genuinely fails (e.g., permissions, API changes), the Subscription/CSVs leak into subsequent runs with no diagnostic trail.

♻️ Proposed fix to log instead of silently swallowing
     } catch {
-      // Ignore cleanup errors
+      // eslint-disable-next-line no-console
+      console.warn('Failed to delete web-terminal subscription during cleanup');
     }
🤖 Prompt for 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.

In `@frontend/e2e/tests/olm/operator-lifecycle-metadata.spec.ts` around lines 98 -
134, The cleanup in test.afterAll currently swallows all errors when deleting
the Subscription and CSVs, which can hide leaked resources; update both catch
blocks to log the failure with enough context before continuing. Use the
existing k8sClient.deleteCustomResource and k8sClient.listCustomResources flow
in operator-lifecycle-metadata.spec.ts, and include the resource type/name
details in the log so CI failures can be diagnosed if cleanup does not succeed.
🤖 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.

Nitpick comments:
In `@frontend/e2e/mocks/operator-lifecycle.ts`:
- Around line 1-84: The lifecycle mock shape is duplicated across LifecycleData,
activePhases/expiredPhases, and the three factory helpers, so centralize the
shared phase/platformCompatibility/version object types and the common
schema/versions wrapper. Reuse those shared symbols from operator-lifecycle.ts
inside makeLifecycleActiveAndCompatible, makeLifecycleSelfSupport, and
makeLifecycleIncompatible so the mock payload stays consistent when the schema
or version shape changes.

In `@frontend/e2e/tests/olm/operator-lifecycle-metadata.spec.ts`:
- Around line 154-159: The version parsing in
operator-lifecycle-metadata.spec.ts is silently falling back to a hardcoded
minor version, which hides the real failure source. Update the logic around the
SERVER_FLAGS.releaseVersion handling so the test explicitly fails or reports a
clear error when the releaseVersion is missing or doesn’t match the expected
format, instead of defaulting to 4.18. Use the existing releaseVersion,
versionMatch, and clusterMinorVersion flow in the Installed Operators test to
surface the parse problem before the later compatibility assertion runs.
- Around line 98-134: The cleanup in test.afterAll currently swallows all errors
when deleting the Subscription and CSVs, which can hide leaked resources; update
both catch blocks to log the failure with enough context before continuing. Use
the existing k8sClient.deleteCustomResource and k8sClient.listCustomResources
flow in operator-lifecycle-metadata.spec.ts, and include the resource type/name
details in the log so CI failures can be diagnosed if cleanup does not succeed.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 56b1ada9-9c89-47fd-ac4f-ddc8c32c8093

📥 Commits

Reviewing files that changed from the base of the PR and between 7707540 and 1d67461.

📒 Files selected for processing (2)
  • frontend/e2e/mocks/operator-lifecycle.ts
  • frontend/e2e/tests/olm/operator-lifecycle-metadata.spec.ts

@perdasilva
perdasilva force-pushed the operator-lifecycle-metadata-e2e branch from c2bc5f0 to d651a59 Compare July 2, 2026 10:23
@perdasilva

Copy link
Copy Markdown
Author

/retest

1 similar comment
@perdasilva

Copy link
Copy Markdown
Author

/retest

@perdasilva
perdasilva force-pushed the operator-lifecycle-metadata-e2e branch from d651a59 to 122fdf3 Compare July 7, 2026 13:57
@perdasilva perdasilva changed the title NO-ISSUE: Add Playwright e2e test for operator lifecycle metadata UI CONSOLE-5409: Add Playwright e2e test for operator lifecycle metadata UI Jul 7, 2026
@openshift-ci-robot

openshift-ci-robot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

@perdasilva: This pull request references CONSOLE-5409 which is a valid jira issue.

Details

In response to this:

Analysis / Root cause:
The operator lifecycle metadata UI (Cluster Compatibility and Support Phase columns on the Installed Operators page) had no e2e test coverage. Since no catalog with real lifecycle metadata exists yet, the test uses mocked API responses to verify the UI renders correctly across all three states.

Solution description:
Adds a Playwright e2e test (frontend/e2e/tests/olm/operator-lifecycle-metadata.spec.ts) and mock data helpers (frontend/e2e/mocks/operator-lifecycle.ts) that:

  1. Install the web-terminal operator from the redhat-operators catalog via k8sClient
  2. Mock the /api/olm/lifecycle/** endpoint using page.route() with a mutable reference pattern (consistent with update-modal.spec.ts)
  3. Read the cluster's actual releaseVersion from SERVER_FLAGS to build accurate mock data
  4. Skip automatically on clusters without the OLMLifecycleAndCompatibility feature gate enabled
  5. Verify three lifecycle states across test.step blocks:
  • Active support + compatible cluster — "Maintenance support" phase badge and "Compatible" indicator
  • Self-support — all phases expired, shows "Self-support" badge
  • Incompatible — cluster version not in compatibility list, shows "Incompatible" indicator
  1. Clean up the Subscription and CSVs in afterAll

Mock dates are computed dynamically relative to the current date to avoid time-bomb failures.

Screenshots / screen recording:

Test setup:

  • Requires a cluster with the OLMLifecycleAndCompatibility feature gate enabled (for the OPERATOR_LIFECYCLE_METADATA feature flag)
  • The redhat-operators CatalogSource must be available in openshift-marketplace
  • On clusters without the feature gate, the test is automatically skipped

Test cases:

  • Lifecycle columns show "Compatible" and active support phase name when mock data includes the cluster version and current-date phases
  • Lifecycle columns show "Self-support" badge when all mock phases have expired
  • Lifecycle columns show "Incompatible" when mock platform compatibility excludes the cluster version
  • Test is skipped on clusters without the OLMLifecycleAndCompatibility feature gate

Browser conformance:

  • Chrome

Additional info:
Verified against a live OCP 5.0 nightly cluster with the OLMLifecycleAndCompatibility feature gate enabled.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
  • Added end-to-end test coverage for operator lifecycle metadata in the installed Operators list.
  • Introduced reusable lifecycle mock payload helpers for active/compatible, self-support (expired phases), and incompatible scenarios.
  • Provisions an OLM Subscription, waits for the CSV to reach Succeeded, and validates lifecycle metadata UI columns using mocked lifecycle API responses.
  • Executes only when lifecycle metadata is enabled, deriving expected compatibility from the configured release version.
  • Cleans up the created Subscription and related CSVs after the test completes.

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.

@perdasilva
perdasilva force-pushed the operator-lifecycle-metadata-e2e branch from 122fdf3 to f1e021d Compare July 8, 2026 09:02
@openshift-ci openshift-ci Bot added the component/olm Related to OLM label Jul 8, 2026

@fsgreco fsgreco left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Couple of nice to have, the only blocker regards the point 1 on the spec.ts file

Comment thread frontend/e2e/tests/olm/operator-lifecycle-metadata.spec.ts Outdated
Comment thread frontend/e2e/pages/installed-operators-page.ts Outdated
@perdasilva
perdasilva requested a review from fsgreco July 9, 2026 08:47
@perdasilva

Copy link
Copy Markdown
Author

@fsgreco thanks for the review!! I've put the suggested changes through ^^

@perdasilva
perdasilva force-pushed the operator-lifecycle-metadata-e2e branch 2 times, most recently from b121bf5 to 0778655 Compare July 9, 2026 16:04

@fsgreco fsgreco left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Jul 9, 2026
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Scheduling tests matching the pipeline_run_if_changed or not excluded by pipeline_skip_if_only_changed parameters:
/test e2e-gcp-console
/test e2e-playwright

@fsgreco

fsgreco commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

/verified by "ci/prow/e2e-playwright"

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Jul 10, 2026
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@fsgreco: This PR has been marked as verified by "ci/prow/e2e-playwright".

Details

In response to this:

/verified by "ci/prow/e2e-playwright"

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.

@perdasilva

Copy link
Copy Markdown
Author

/hold until github.com/openshift/release/pull/81559 is merged as this will likely need an update and it would be good to get the techpreview job signal before merging this

@openshift-ci openshift-ci Bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 10, 2026
@jseseCCS

Copy link
Copy Markdown

as far as i can tell, nothing user facing here!

@jseseCCS

Copy link
Copy Markdown

/label docs-approved

@perdasilva

Copy link
Copy Markdown
Author

/test backend

@perdasilva

Copy link
Copy Markdown
Author

/unhold

@openshift-ci openshift-ci Bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 21, 2026

@TheRealJon TheRealJon 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 have a few comments, but since these tests are passing, let's get them merged and maybe open a follow-on PR to make improvements.

/lgtm

Comment thread frontend/e2e/pages/installed-operators-page.ts Outdated
Comment thread frontend/e2e/tests/olm/operator-lifecycle-metadata.spec.ts
Comment thread frontend/e2e/tests/olm/operator-lifecycle-metadata.spec.ts
Comment thread frontend/e2e/tests/olm/operator-lifecycle-metadata.spec.ts
Comment thread frontend/e2e/tests/olm/operator-lifecycle-metadata.spec.ts Outdated
Comment thread frontend/e2e/tests/olm/operator-lifecycle-metadata.spec.ts Outdated
Comment thread frontend/e2e/tests/olm/operator-lifecycle-metadata.spec.ts Outdated
@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Jul 21, 2026
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Scheduling tests matching the pipeline_run_if_changed or not excluded by pipeline_skip_if_only_changed parameters:
/test e2e-gcp-console
/test e2e-playwright

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 21, 2026
@TheRealJon

Copy link
Copy Markdown
Member

/retest

Adds e2e test coverage for the operator lifecycle metadata columns
(Cluster Compatibility and Support Phase) on the Installed Operators page.

Test files:
- operator-lifecycle-metadata.spec.ts: Installs web-terminal operator,
  mocks lifecycle API responses, and verifies three states (compatible/
  active support, unsupported, incompatible)
- operator-lifecycle.ts: Mock data helpers with dynamic dates
- installed-operators-page.ts: Page object for Installed Operators

Also adds:
- data-test attribute on ClusterServiceVersionTableRow for getByTestId()
- test-prow-playwright-e2e-techpreview.sh as CI entrypoint

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@perdasilva
perdasilva force-pushed the operator-lifecycle-metadata-e2e branch from c8db489 to fc362e5 Compare July 22, 2026 07:32
@openshift-ci openshift-ci Bot removed the lgtm Indicates that a PR is ready to be merged. label Jul 22, 2026
@perdasilva

Copy link
Copy Markdown
Author

/test e2e-gcp-console-techpreview
/test e2e-playwright-techpreview

1 similar comment
@perdasilva

Copy link
Copy Markdown
Author

/test e2e-gcp-console-techpreview
/test e2e-playwright-techpreview

@perdasilva

Copy link
Copy Markdown
Author

/retest

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

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Jul 22, 2026
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Scheduling tests matching the pipeline_run_if_changed or not excluded by pipeline_skip_if_only_changed parameters:
/test e2e-gcp-console
/test e2e-playwright

@openshift-ci

openshift-ci Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fsgreco, perdasilva, TheRealJon

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

@TheRealJon

Copy link
Copy Markdown
Member

/retest

5 similar comments
@perdasilva

Copy link
Copy Markdown
Author

/retest

@perdasilva

Copy link
Copy Markdown
Author

/retest

@perdasilva

Copy link
Copy Markdown
Author

/retest

@TheRealJon

Copy link
Copy Markdown
Member

/retest

@fgiudici

Copy link
Copy Markdown
Member

/retest

@perdasilva

Copy link
Copy Markdown
Author

/test e2e-playwright

1 similar comment
@perdasilva

Copy link
Copy Markdown
Author

/test e2e-playwright

@TheRealJon

Copy link
Copy Markdown
Member

Probably need #16780 to land before ci/prow/e2e-playwright job will pass

@TheRealJon

Copy link
Copy Markdown
Member

/retest

@openshift-ci

openshift-ci Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

@perdasilva: 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-playwright fc362e5 link false /test e2e-playwright

Full PR test history. Your PR dashboard.

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. I understand the commands that are listed here.

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

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. component/olm Related to OLM docs-approved Signifies that Docs has signed off on this PR jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. px-approved Signifies that Product Support has signed off on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants