-
Notifications
You must be signed in to change notification settings - Fork 165
[1LP][RFR]Adding automation for Customer BZ1644770 #9901
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.
Just a small request to add some expected results, since the test steps are included.
3421e44
to
b8ce75c
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.
LGTM 👍
Tests failed on PRT though
" """
create_vm.mgmt.delete()
quadicon = create_vm.find_quadicon(from_any_provider=True)
assert quadicon.data['power_state'] == 'archived'
E KeyError: 'power_state'
"
b8ce75c
to
de15fe4
Compare
@sshveta 1 out of 2 tests are failing in latest run 749 as it needs Wrapanapi PR RedHatQE/wrapanapi/pull/436 to be merged. |
@kedark3 wrapanapi 3.5.5 has been tagged, should be available on pypi shortly. |
de15fe4
to
cee9b17
Compare
cee9b17
to
bf59954
Compare
@mshriver seems like pip didn't pick up latest package yet for wrapanapi release. |
bf59954
to
532d3c7
Compare
3.VM is Archived in CFME | ||
""" | ||
create_vm.mgmt.delete() | ||
create_vm.wait_for_vm_state_change(from_any_provider=True, desired_state='archived') |
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 we wrap this in a try/except to call pytest.fail
on the TimedOutError exception please?
532d3c7
to
3562d37
Compare
3562d37
to
933c6ab
Compare
Purpose or Intent
PRT Run
{{pytest: cfme/tests/infrastructure/test_vmware_provider.py -k 'test_vm_remove_from_inventory_orphan or test_delete_vm_archive' -v}}