diff --git a/cfme/tests/services/test_dialog_element_in_catalog.py b/cfme/tests/services/test_dialog_element_in_catalog.py index 40594b3f33..07f2b00799 100644 --- a/cfme/tests/services/test_dialog_element_in_catalog.py +++ b/cfme/tests/services/test_dialog_element_in_catalog.py @@ -1194,3 +1194,41 @@ def test_dynamic_dialog_field_to_static_field(appliance, import_datastore, with LogValidator(auto_log, failure_patterns=["TEXT AREA REFRESH DIALOG"] ).waiting(timeout=120): navigate_to(service_catalogs, "Order") + + +@pytest.mark.customer_scenario +@pytest.mark.meta(automates=[1568342]) +@pytest.mark.parametrize("import_data", [DatastoreImport("bz_1568342.zip", "bz_1568342", None)], + ids=["datastore"]) +@pytest.mark.parametrize("file_name", ["bz_1568342.yml"], ids=["dynamic_dialog"]) +@pytest.mark.parametrize('context', [ViaUI, ViaSSUI]) +def test_dynamic_dropdown_auto_refresh_load(appliance, import_datastore, import_data, + generic_catalog_item_with_imported_dialog, context): + """ + Bugzilla: + 1568342 + Polarion: + assignee: nansari + startsin: 5.11 + casecomponent: Services + initialEstimate: 1/16h + """ + catalog_item, _, ele_label = generic_catalog_item_with_imported_dialog + + service_catalogs = ServiceCatalogs(appliance, catalog_item.catalog, catalog_item.name) + + with appliance.context.use(context): + if context == ViaSSUI: + view = ssui_nav(service_catalogs, "Details") + else: + view = navigate_to(service_catalogs, "Order") + + view.fields(ele_label).dropdown.fill("Contract B") + wait_for( + lambda: view.fields("location").dropdown.read() == 'Florida', timeout=7 + ) + + view.fields(ele_label).dropdown.fill("Contract A") + wait_for( + lambda: view.fields("location").dropdown.read() == 'Alaska', timeout=7 + ) diff --git a/cfme/tests/ssui/test_ssui_service_catalogs.py b/cfme/tests/ssui/test_ssui_service_catalogs.py index d9156b0966..2ed924a766 100644 --- a/cfme/tests/ssui/test_ssui_service_catalogs.py +++ b/cfme/tests/ssui/test_ssui_service_catalogs.py @@ -115,23 +115,6 @@ def test_refresh_ssui_page(appliance, generic_service): assert view.is_displayed -@pytest.mark.manual -@pytest.mark.tier(1) -def test_sui_ordering_service_catalog_the_dynamic_drop_down_dialogs_fields_should_auto_refreshed(): - """ - Polarion: - assignee: nansari - casecomponent: SelfServiceUI - testtype: functional - initialEstimate: 1/4h - startsin: 5.8 - tags: ssui - Bugzilla: - 1568342 - """ - pass - - @pytest.mark.manual @pytest.mark.tier(2) def test_disabling_dashboard_under_service_ui_for_a_role_shall_disable_the_dashboard():