Skip to content

🌱 Consolidate SA e2e steps and formats#2614

Merged
openshift-merge-bot[bot] merged 1 commit intooperator-framework:mainfrom
perdasilva:fixup-sa-steps
Apr 1, 2026
Merged

🌱 Consolidate SA e2e steps and formats#2614
openshift-merge-bot[bot] merged 1 commit intooperator-framework:mainfrom
perdasilva:fixup-sa-steps

Conversation

@perdasilva
Copy link
Copy Markdown
Contributor

@perdasilva perdasilva commented Mar 31, 2026

Summary

  • Replace interpolation-style ${TEST_NAMESPACE} references with test namespace in all Gherkin feature files for ServiceAccount steps
  • Remove the redundant step pattern matching ${TEST_NAMESPACE} syntax in steps.go ServiceAccount steps, consolidating on the existing plain-text step definitions

Test plan

  • Verify e2e tests pass with the updated step definitions
  • Confirm no remaining ${TEST_NAMESPACE} references in feature files

🤖 Generated with Claude Code

Replace interpolation-style `${TEST_NAMESPACE}` references with
`test namespace` in Gherkin steps and remove the redundant step
patterns that matched the `${TEST_NAMESPACE}` syntax, consolidating
on the plain-text step definitions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings March 31, 2026 11:37
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 31, 2026

Deploy Preview for olmv1 ready!

Name Link
🔨 Latest commit d55a36f
🔍 Latest deploy log https://app.netlify.com/projects/olmv1/deploys/69cbb1fd9d53f1000813eead
😎 Deploy Preview https://deploy-preview-2614--olmv1.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@openshift-ci openshift-ci bot requested review from anik120 and joelanford March 31, 2026 11:37
@perdasilva perdasilva changed the title fix(e2e): replace ${TEST_NAMESPACE} with plain text in SA step definitions 🌱 Consolidate e2e steps and their description format Mar 31, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR standardizes the e2e Gherkin ServiceAccount step phrasing by switching from ${TEST_NAMESPACE}-style text in step lines to the literal test namespace, and simplifies the Go step registrations accordingly.

Changes:

  • Updated multiple .feature files to use ... available in test namespace for ServiceAccount step text.
  • Removed the ${TEST_NAMESPACE}-matching step regexes in test/e2e/steps/steps.go, consolidating on the plain-text step definitions.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
test/e2e/steps/steps.go Removes ${TEST_NAMESPACE} ServiceAccount step patterns; keeps “test namespace” registrations.
test/e2e/features/user-managed-fields.feature Updates ServiceAccount step text to “test namespace”.
test/e2e/features/update.feature Updates ServiceAccount step text to “test namespace”.
test/e2e/features/uninstall.feature Updates ServiceAccount step text to “test namespace”.
test/e2e/features/status.feature Updates ServiceAccount step text to “test namespace”.
test/e2e/features/recover.feature Updates multiple ServiceAccount step lines to “test namespace”.
test/e2e/features/install.feature Updates some ServiceAccount step lines to “test namespace” (but one old form remains).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 31, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.86%. Comparing base (435e9c5) to head (d55a36f).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2614   +/-   ##
=======================================
  Coverage   68.86%   68.86%           
=======================================
  Files         139      139           
  Lines        9872     9872           
=======================================
  Hits         6798     6798           
  Misses       2557     2557           
  Partials      517      517           
Flag Coverage Δ
e2e 37.71% <ø> (+0.23%) ⬆️
experimental-e2e 52.60% <ø> (+0.02%) ⬆️
unit 53.51% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@perdasilva perdasilva changed the title 🌱 Consolidate e2e steps and their description format 🌱 Consolidate SA e2e steps and their description format Mar 31, 2026
@perdasilva perdasilva changed the title 🌱 Consolidate SA e2e steps and their description format 🌱 Consolidate SA e2e steps and formats Mar 31, 2026
Copy link
Copy Markdown
Contributor

@camilamacedo86 camilamacedo86 left a comment

Choose a reason for hiding this comment

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

I think we can move forward here.
Very small 🎉

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Apr 1, 2026
@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Apr 1, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: camilamacedo86

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-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 1, 2026
@openshift-merge-bot openshift-merge-bot bot merged commit 10dc0bc into operator-framework:main Apr 1, 2026
32 of 33 checks passed
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. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants