-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pf4 bookmarks dropdown #1200
pf4 bookmarks dropdown #1200
Conversation
72640df
to
e11f466
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think better to avoid adding extra variable is all are those coming from the SearchableViewMixinPF4
. Apart from that looks solid
@@ -75,7 +75,7 @@ class DashboardView(BaseLoggedInView): | |||
title = Text("//h1[normalize-space(.)='Overview']") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to add SearchableViewMixinPF4
class inheritance
e11f466
to
033d236
Compare
thanks @omkarkhatavkar, I didn't realize there is inheritance, updated |
trigger: test-robottelo |
3 similar comments
trigger: test-robottelo |
trigger: test-robottelo |
trigger: test-robottelo |
@pondrejk Almost everything looks okay, there 1-2 cases missing for search. but other failures seem are unrelated to search |
033d236
to
6558438
Compare
@omkarkhatavkar thank you, I updated the package view that shouldn't have been changed, the other failures need to be fixed on the robottelo side, I'll make a pr soon |
@pondrejk I don't want to wait more time for 1 more reviewer. This looks good I will merge your PR. We need to have more participation from reviewers. |
(cherry picked from commit 39f73c6)
(cherry picked from commit 39f73c6) Co-authored-by: Peter Ondrejka <[email protected]>
@@ -22,7 +26,7 @@ | |||
) | |||
|
|||
|
|||
class RepositoriesView(BaseLoggedInView, SearchableViewMixin): | |||
class RepositoriesView(BaseLoggedInView, SearchableViewMixinPF4): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pondrejk Is foreman 3.9 (katello 4.11.1) (6.15.z) really using this? For me this breaks some of the following tests:
tests/foreman/ui/test_repository.py
This change fixes around 90 tests in the bookmark component. The locator for bookmarks dropdown was not accurate for pf4 searchboxes, plus views were not updated to use pf4 search. The remaining legacy searchboxes continue to work.
Test result for component with pf4 searcbox:
Page with legacy searchbox: