-
Notifications
You must be signed in to change notification settings - Fork 66
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
subscription page search field ui selector update #1702
subscription page search field ui selector update #1702
Conversation
|
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.
Looks good. Could potentially use 'aria-label' as a (possibly) more durable locator, but I don't feel strongly about this.
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.
Upon further review, the actual solution to this problem is to change from using "SearchableViewMixin" and having the custom search logic to simply using PF4SearchableViewMixin.
This will also make test changes not necessary, at least in the case of one of the tests you are changing.
|
PRT Result
|
Local test execution result :
|
3d579b2
to
719fb6b
Compare
trigger: test-robottelo |
PRT Result
|
|
|
PRT Result
|
PRT Result
|
… in class SearchableViewMixinPF4
b8ce6f8
to
92d85b8
Compare
PRT Result
|
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.
Approving, based on local run results from vijay and myself. We can revisit if this ends up continuing to not pass in CI.
airgun/views/subscription.py
Outdated
@@ -27,7 +27,7 @@ class SubscriptionSearch(Search): | |||
search_button = Button('Search') |
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.
We can just remove this as well as SubscriptionSearchableViewMixin, since we aren't using either anymore.
|
* subscription page search field ui selector update * implemented PF4 related comments * use SearchableViewMixinPF4 instead of SubscriptionSearchableViewMixin in class SearchableViewMixinPF4 (cherry picked from commit 4441e8d)
Problem Statement
test_positive_access_with_non_admin_user_with_manifest
was failing due to ErrorTypeError: 'NoneType' object is not subscriptable
search_field
from airgun viewSubscriptionSearch
need to be updatedSolution
Update
search_field
with expected locator.Robottelo PR
SatelliteQE/robottelo#17382