-
Notifications
You must be signed in to change notification settings - Fork 165
[1LP][RFR] Test for Embedded Ansible repository refresh #9868
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.
@sbulage Can you check PRT results for 5.10? Also, I am not sure how this automated test case is automating the manual case test_embed_tower_ui_requests_notifications_negative
. Is that test case not relevant anymore?
@john-dupuy Above test |
@sbulage I would mark such test case manual only... I would not remove test scenario only because we can not automate. |
view = navigate_to(ansible_repository, "Details") | ||
view.toolbar.configuration.item_select('Refresh this Repository', handle_alert=True) | ||
|
||
wait_for(view.toolbar.refresh.click, delay=2, timeout=5) |
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.
Q: why we are using this wait_for?:
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.
After initializing Refresh this Repository
it will take minor time to reflect, to wait for few seconds, I have added wait_for
.
Purpose or Intent
PRT Run
{{pytest: cfme/tests/ansible/test_embedded_ansible_basic.py -k "test_embedded_ansible_repository_refresh" --long-running -svvvv }}