-
Notifications
You must be signed in to change notification settings - Fork 165
Conversation
674717c
to
8478d27
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.
Thanks for this PR @valaparthvi
LGTM :)
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.
Nice solution to the provider on a temp appliance problem, I like it. 👍
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.
Nice PR 👍 Thanks for fixes.
@@ -181,7 +181,7 @@ def setup_vm(configure_fleecing, appliance, provider): | |||
vm = appliance.collections.infra_vms.instantiate( | |||
name=random_vm_name(context="report", max_length=20), | |||
provider=provider, | |||
template_name="env-rhel7-20-percent-full-disk-tpl", | |||
template_name="env-rhel7-20-percent-full-disk-pvala-tpl", |
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.
I think this should come from data yaml than hardcodding. We can include this under template session for provider. I'm marking this optional as just modifying but please raise separate PR for this.
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.
This template won't be used by any other test case unless you want to provision a VM which has less than 20% disk space, which is why I directly used the template name even though it's weird to look at it. But if you insist, we can move it to data yaml.
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.
yup better to take it from yaml... It will help in template maintenance as well.
@@ -104,6 +104,8 @@ def enable_provider_regions(provider): | |||
def _setup_provider_verbose(request, provider, appliance=None): | |||
if appliance is None: | |||
appliance = store.current_appliance | |||
else: | |||
provider.appliance = appliance |
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 comment for this?
I detected some fixture changes in commit f5d065a The global fixture
Please, consider creating a PRT run to make sure your fixture changes do not break existing usage 😃 |
Purpose or Intent
test_canned_corresponds.py
tests by adding 2 new fixturessetup_provider_temp_appliance
andsetup_provider_temp_appliance_modscope
to make sure provider is added on the right appliance while using temp appliances in the test.test_default_filters_reset
andtest_reset_report_menus
failing because of updates with wt.pf FlashMessagestest_vm_retirement_rest.py
with BZ(1805119)test_customization_paginator
by fixing theAddDialogView::is_displayed
. Also add same fix toEditDialogView::is_displayed
.test_vm_volume_free_space_less_than_20_percent
by restoring the deleted template used by the test.TestProvidersRESTAPI
by waiting for the data before testing further.PRT Run
{{ pytest: cfme/tests/intelligence/reports/test_canned_corresponds.py cfme/tests/configure/test_default_filters.py::test_default_filters_reset cfme/tests/infrastructure/test_providers.py::test_infra_discovery_screen cfme/tests/infrastructure/test_vm_retirement_rest.py cfme/tests/intelligence/test_download_report.py cfme/tests/webui/test_general_ui.py::test_provider_documentation cfme/tests/intelligence/reports/test_reports.py::test_vm_volume_free_space_less_than_20_percent cfme/tests/cloud/test_providers.py::test_display_network_topology cfme/tests/intelligence/reports/test_menus.py::test_reset_report_menus cfme/tests/cloud/test_providers.py::TestProvidersRESTAPI cfme/tests/automate/test_customization_paginator.py --long-running }}