Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Commit

Permalink
[RFR] Changes to resolve the customer qa test coverage (#9751)
Browse files Browse the repository at this point in the history
* Add test_provision_approval_deny

* Add test_provision_service_dialog_details manual test.

* Add automates for scheduled backup BZ#1678223

* Make test_upgrade_multi_replication_inplace high prio

There was a customer bug for this test.
The coverage marker was set to a clone of the original bug. I think this
is not correct. I set it to the original bug.
  • Loading branch information
Jaroslav Henner authored and mshriver committed Dec 10, 2019
1 parent 04c00ba commit 536cad3
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 2 deletions.
49 changes: 49 additions & 0 deletions cfme/tests/cloud_infra_common/test_provisioning.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,28 @@ def test_gce_preemptible_provision(appliance, provider, instance_args, soft_asse
soft_assert(instance.exists_on_provider, "Instance wasn't provisioned successfully")


@pytest.mark.manual
@pytest.mark.meta(coverage=[1676910])
def test_provision_approval_deny():
""" Test whether the approver can deny the request.
Prerequisities:
* A provider that can provision.
Steps:
* Create a provisioning request that does not get automatically approved (eg. ``num_vms``
bigger than 1)
* Deny the created request
Polarion:
assignee: jhenner
caseimportance: high
casecomponent: Provisioning
initialEstimate: 1/3h
"""
pass


@pytest.mark.rhv2
@pytest.mark.meta(automates=[1472844])
@pytest.mark.parametrize("edit", [True, False], ids=["edit", "approve"])
Expand Down Expand Up @@ -673,3 +695,30 @@ def test_provision_from_template_from_global_region(setup_multi_region_cluster,
initialEstimate: 1/10h
"""
assert provisioned_instance.exists_on_provider, "Instance wasn't provisioned successfully"


@pytest.mark.manual
@pytest.mark.meta(coverage=[1670327])
def test_provision_service_dialog_details():
""" Test whether the details of provision request can be displayed.
Prerequisities:
* A Local/Global replicated CFMEs.
* A provider that can provision.
Steps:
* Add repository and create a service catalog with a dialog at remote region
* Try provisioning the catalog from Global Region
* You can see the dialog details in Services -> Requests page
Expected results:
The dialog details at Services -> Requests should be displayed when
ordering the catalog from the Global Region
Polarion:
assignee: jhenner
caseimportance: medium
casecomponent: Provisioning
initialEstimate: 1/6h
"""
pass
1 change: 1 addition & 0 deletions cfme/tests/configure/test_db_backup_schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ def get_full_path_to_file(path_on_host, schedule_name):


@pytest.mark.tier(3)
@pytest.mark.meta(automates=[1678223])
def test_db_backup_schedule(request, db_backup_data, depot_machine_ip, appliance):
""" Test scheduled one-type backup on given machines using smb/nfs
Expand Down
4 changes: 2 additions & 2 deletions cfme/tests/test_db_migrate_manual.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,15 +340,15 @@ def test_rh_registration_proxy_crud():

@pytest.mark.manual
@pytest.mark.tier(2)
@pytest.mark.meta(coverage=[1722540])
@pytest.mark.meta(coverage=[1721596])
def test_upgrade_multi_replication_inplace():
"""
test_upgrade_multi_replication_inplace
Polarion:
assignee: jhenner
casecomponent: Configuration
caseimportance: medium
caseimportance: high
initialEstimate: 1h
setup: 2 appliances:
- Appliance A: Replication Global, region 0
Expand Down

0 comments on commit 536cad3

Please sign in to comment.