Skip to content
This repository was archived by the owner on Apr 7, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions cfme/tests/services/test_dialog_element_in_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -1232,3 +1232,50 @@ def test_dynamic_dropdown_auto_refresh_load(appliance, import_datastore, import_
wait_for(
lambda: view.fields("location").dropdown.read() == 'Alaska', timeout=7
)


@pytest.mark.meta(automates=[1834219])
@pytest.mark.customer_scenario
def test_navigate_details_dialog_view(appliance):
"""
Bugzilla:
1834219
Polarion:
assignee: nansari
casecomponent: Services
initialEstimate: 1/16h
startsin: 5.11
testSteps:
1. Create a new dialog, add just one field: Tag Control, select a valid category
2. Click on the newly created dialog in explorer tree
expectedResults:
1.
2. It shouldn't gives the validation error in log
"""
service_dialog = appliance.collections.service_dialogs
element_data = {
"element_information": {
"ele_label": fauxfactory.gen_alphanumeric(15, start="ele_label_"),
"ele_name": fauxfactory.gen_alphanumeric(15, start="ele_name_"),
"ele_desc": fauxfactory.gen_alphanumeric(15, start="ele_desc_"),
"choose_type": "Tag Control",
},
'options': {
'field_category': "Service Level",
'field_required': True
}
}
sd = service_dialog.create(
label=fauxfactory.gen_alphanumeric(start="dialog_"), description="my dialog"
)
tab = sd.tabs.create(
tab_label=fauxfactory.gen_alphanumeric(start="tab_"), tab_desc="my tab desc"
)
box = tab.boxes.create(
box_label=fauxfactory.gen_alphanumeric(start="box_"), box_desc="my box desc"
)
box.elements.create(element_data=[element_data])
with LogValidator(
"/var/www/miq/vmdb/log/production.log", failure_patterns=[".*FATAL.*"]
).waiting(timeout=120):
navigate_to(sd, 'Details')
36 changes: 0 additions & 36 deletions cfme/tests/services/test_service_catalog_dialog_manual.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,6 @@
]


@pytest.mark.manual
@pytest.mark.tier(2)
def test_notification_banner_vm_provisioning_notification_and_service_request_should_be_in_syn():
""" Notification Banner - VM Provisioning Notification and Service Request should be in Sync
Polarion:
assignee: nansari
casecomponent: Services
testtype: functional
initialEstimate: 1/4h
startsin: 5.7
tags: service
Bugzilla:
1389312
"""
pass


@pytest.mark.manual
@pytest.mark.tier(3)
def test_user_should_be_able_to_see_requests_irrespective_of_tags_assigned():
Expand Down Expand Up @@ -59,25 +42,6 @@ def test_changing_action_order_in_catalog_bundle_should_not_removes_resource():
pass


@pytest.mark.manual
@pytest.mark.tier(2)
def test_notification_banner_service_event_should_be_shown_in_notification_bell():
"""
Polarion:
assignee: nansari
casecomponent: Services
initialEstimate: 1/4h
testtype: functional
startsin: 5.9
tags: service
testSteps:
1. OPS UI and SSUI service requests should create an event in notification bell
2. Also check , Clear All and "MArk as read" in notification bell
3. Number of events shown in notification bell
"""
pass


@pytest.mark.manual
@pytest.mark.tier(2)
def test_custom_image_on_item_bundle_crud():
Expand Down