OCPBUGS-67004: fix Search page issues with regard to namespace#15826
OCPBUGS-67004: fix Search page issues with regard to namespace#15826rhamilto wants to merge 1 commit intoopenshift:mainfrom
Conversation
|
@rhamilto: This pull request references Jira Issue OCPBUGS-67004, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. 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. |
WalkthroughThe changes introduce namespace filtering improvements in search functionality. Test coverage is expanded with new test cases for namespace display in search results, and tests are refactored to use data-view selectors. The search component adds logic to handle ALL_NAMESPACES_KEY for proper namespace scoping when listing resources across or within specific namespaces. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Cache: Disabled due to data retention organization setting Knowledge base: Disabled due to 📒 Files selected for processing (2)
🧰 Additional context used📓 Path-based instructions (1)**⚙️ CodeRabbit configuration file
Files:
🔇 Additional comments (4)
Comment |
| // disabled as listPage.rows.shouldExist isn't a valid test | ||
| xit('filters from Pods list', () => { | ||
|
|
||
| it('filters from Pods list', () => { |
There was a problem hiding this comment.
Fix disabled tests now that the table migration is complete.
| listPage.dvRows.countShouldBe(3); | ||
| }); | ||
|
|
||
| it('displays namespace on Search when All Namespaces is selected', () => { |
There was a problem hiding this comment.
Add new tests for the bug fix.
|
/jira refresh |
|
@rhamilto: This pull request references Jira Issue OCPBUGS-67004, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: 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. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: logonoff, rhamilto The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
|
/label acknowledge-critical-fixes-only |
|
/retest |
|
@yanpzhan, mind verifying since Ya Dan is out? |
|
@yanpzhan: This PR has been marked as verified by 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. |
|
/retest-required |
|
/retest |
|
@rhamilto: The following test 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. |
|
/jira refresh The requirements for Jira bugs have changed (Jira issues linked to PRs on main branch need to target different OCP), recalculating validity. |
|
@openshift-bot: This pull request references Jira Issue OCPBUGS-67004, which is invalid:
Comment 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. |
|
Duplicates #15789. @TheRealJon, mind adding the test fixes to your PR? |
|
@rhamilto: This pull request references Jira Issue OCPBUGS-67004. The bug has been updated to no longer refer to the pull request using the external bug tracker. 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. |


After
Screen.Recording.2025-12-09.at.10.40.39.AM.mov