[1LP][RFR] Fix VM retirement tests and test cleanup#10064
[1LP][RFR] Fix VM retirement tests and test cleanup#10064mshriver merged 2 commits intoManageIQ:masterfrom
Conversation
925f0e4 to
1261ecd
Compare
There was a problem hiding this comment.
Optional: you can remove BZ from automates.
There was a problem hiding this comment.
Optional: Are you sure about spaces between words?
message = r".*Error during .*upload.*: undefined method `keys.* for .*i.*:String.*"
Can we write like this - message = r".*Error during.*upload.*: undefined method `keys.*for.*i.*:String.*"
There was a problem hiding this comment.
Yeah, I think it will be better to leave the space out. Thanks!
There was a problem hiding this comment.
What are we trying to fix here? using .* is making this expression very greedy, if there's an issue with the number of whitespace characters in the string in the UI, we should use \s+ to express "one or more whitespace characters"
|
I detected some fixture changes in commit 28de40c4ac5122bca3db9fde9428fcb964a2b27f The local fixture
Please, consider creating a PRT run to make sure your fixture changes do not break existing usage 😃 |
Purpose or Intent
selectortotest_add_provider_button_accordionso that it doesn't extra tests.test_reports_invalid_filewhich was failing because error message changed.PRT Run
{{ pytest: cfme/tests/infrastructure/test_vm_retirement_rest.py cfme/tests/intelligence/reports/test_import_export_reports_widgets.py::test_reports_invalid_file -vvv }}