-
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
removing updated value and takes default value #1643
base: master
Are you sure you want to change the base?
Conversation
d12b491
to
add4e64
Compare
PRT Result
|
airgun/entities/host_new.py
Outdated
@@ -975,6 +975,22 @@ def refresh_applicability(self, entity_name): | |||
self.browser.plugin.ensure_page_safe() | |||
view.dropdown.item_select('Refresh applicability') | |||
|
|||
def read_update_value(self, entity_name, key, value): |
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.
Could you please change the wording of the function name.
def read_update_value(self, entity_name, key, value): | |
def read_updated_value(self, entity_name, key, value): |
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.
Updated the function name.
def read_update_value(self, entity_name, key, value): | ||
view = self.navigate_to(self, 'NewDetails', entity_name=entity_name) | ||
wait_for(lambda: view.ansible.variables.table.is_displayed, timeout=10) | ||
view.ansible.variables.table.row(name=key)[5].widget.click() |
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.
Can you please add some comment to the 5
index
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.
Added comment for the [5] index.
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.
Small change requested, otherwise looks good to me. GJ @amolpati30!
add4e64
to
1a3b6db
Compare
PRT Result
|
trigger: test-robottelo |
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.
ACK
Added to the entities with their respective locators:
read_update_value
: Reads the value after updating the Ansible variable in the host.read_delete_value
: Deletes the updated value, reverts to the default value, and reads the default value.Dependent PR: SatelliteQE/robottelo#16969