From 0ea4deb1372d949410431ac13801380f903e018b Mon Sep 17 00:00:00 2001 From: dgaikwad Date: Thu, 9 Jul 2020 17:08:05 +0530 Subject: [PATCH] adding BZ coverage --- cfme/tests/automate/test_service_automate.py | 27 -------- cfme/tests/configure/test_access_control.py | 70 ++++++++++++++++++++ 2 files changed, 70 insertions(+), 27 deletions(-) diff --git a/cfme/tests/automate/test_service_automate.py b/cfme/tests/automate/test_service_automate.py index ef34f36012..bc875ad7a7 100644 --- a/cfme/tests/automate/test_service_automate.py +++ b/cfme/tests/automate/test_service_automate.py @@ -357,33 +357,6 @@ def test_passing_value_between_catalog_items(request, appliance, catalog_item_se assert provision_request.is_succeeded(method="ui") -@pytest.mark.manual -@pytest.mark.tier(2) -@pytest.mark.meta(coverage=[1748353]) -def test_service_retire_automate(): - """ - Bugzilla: - 1748353 - - Polarion: - assignee: dgaikwad - initialEstimate: 1/8h - caseposneg: positive - casecomponent: Automate - testSteps: - 1. Create email retirement method & add it to automate - 2. Provision service with a retirement date - 3. Reach retirement date - 4. See automation logs - expectedResults: - 1. - 2. - 3. - 4. The retirement should not run multiple times at the same time - """ - pass - - @pytest.mark.tier(2) @pytest.mark.meta(automates=[1740796], blockers=[BZ(1740796, forced_streams=["5.10"])]) def test_import_dialog_file_without_selecting_file(appliance, dialog): diff --git a/cfme/tests/configure/test_access_control.py b/cfme/tests/configure/test_access_control.py index 58df4c9741..a1ae44e689 100644 --- a/cfme/tests/configure/test_access_control.py +++ b/cfme/tests/configure/test_access_control.py @@ -3073,3 +3073,73 @@ def test_ssui_login_http(): 2. able to login SSUI """ pass + + +@pytest.mark.manual +@pytest.mark.tier(1) +@pytest.mark.customer_scenario +@pytest.mark.meta(coverage=[1710998]) +def test_verify_datastores_list(): + """ + Datastore filter should work properly after even delete the datastores + Bugzilla: + 1710998 + Polarion: + assignee: dgaikwad + casecomponent: Auth + caseimportance: high + initialEstimate: 1/4h + setup: + 1. create setup like below + My VMWARE structure: + vcenter-server + | + | -> Datacenter1 + | -> Cluster1 + | + | -> Datacenter2 + | -> Cluster2 + | + | -> Datacenter3 + | -> Cluster3 + testSteps: + 1. create a role and group `group1` and assigne filters for only `Cluster3`, + 2. created user `user1`, logged in with user `user1` and verified that I can only + see `Cluster3`. + 3. delete the 'cluster3' + 4. navigate to check cluster list + expectedResults: + 1. role and group successfully created + 2. able to see only `cluster3` + 3. cluster should be deleted successfully + 4. There should not be any cluster in the list + """ + pass + + +@pytest.mark.manual +@pytest.mark.tier(1) +@pytest.mark.meta(coverage=[1854839]) +def test_chargeback_report(): + """ + Chargeback report should show correct data + Bugzilla: + 1854839 + Polarion: + assignee: dgaikwad + casecomponent: Auth + caseimportance: medium + initialEstimate: 1/4h + testSteps: + 1. create rules (see screen copy): overview -> chargeback -> rates -> compute -> + configuration -> Add new chargeback rate + 2. assign this rule to the whole company (see screen copy): overview -> chargeback -> + assignments -> compute : assign previously define rule to enterprise + 3. create a report based on these rules: overview -> reports + expectedResults: + 1. + 2. + 3. report generated with correct data + + """ + pass