-
Notifications
You must be signed in to change notification settings - Fork 165
[1LP][WIP] Automate Ansible non-ascii Hostname test. #9925
base: master
Are you sure you want to change the base?
Conversation
Depends on #9660 |
8e797c4
to
04467f2
Compare
04467f2
to
069b47c
Compare
069b47c
to
47a9904
Compare
# Non-ASCII hostname element name. | ||
hostname = fauxfactory.gen_alphanumeric(start="àcon_") | ||
view.fields(ele_name).fill(hostname) | ||
time.sleep(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.
Use wait_for(lambda: not view.submit_button.disabled, timeout=7) instead of time.sleep
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.
Submit button is enabled in the UI. I have tried all possibilities with wait_for
and end up time.sleep
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.
Service Dialog value is require to update Hostname after filling up, but it will not get reflected for service. We require wait for at least 5 seconds. |
47a9904
to
db13c6f
Compare
@sbulage I think you are running the wrong test on PRT ^^ |
@sbulage started run for |
@digitronik I have seen PRT, it is using |
@sbulage PRT is failing, can you take a look? Or whoever is taking your FA |
I edited your pytest run. |
Would you mind rebasing this Pull Request against latest master, please? |
Purpose or Intent
PRT Run
{{pytest: cfme/tests/ansible/test_embedded_ansible_services.py -k "test_service_ansible_playbook_order_non_ascii" --long-running -svvvv }}