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

Commit

Permalink
Merge pull request #9986 from niyazRedhat/bundle-in-bundle
Browse files Browse the repository at this point in the history
[1LP][RFR] Automating bundle test #bz 1671522
  • Loading branch information
digitronik authored Mar 24, 2020
2 parents 28dcc0c + c4cb862 commit b5bc6f9
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 25 deletions.
27 changes: 27 additions & 0 deletions cfme/tests/services/test_catalog_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -621,3 +621,30 @@ def test_copy_catalog_item_with_tags(request, generic_catalog_item, tag):
tag_available.display_name == tag.display_name
for tag_available in new_cat_item.get_tags()
]), 'Assigned tag was not found on the details page'


@pytest.mark.meta(automates=[1671522])
@pytest.mark.ignore_stream('5.10')
@pytest.mark.tier(2)
def test_add_bundle_in_bundle(appliance, catalog_bundle):
"""
Bugzilla:
1671522
Polarion:
assignee: nansari
casecomponent: Services
initialEstimate: 1/16h
startsin: 5.11
testSteps:
1. Create catalog bundle1
2. Navigate catalog bundle Add page-> Resources tab
3. Check bundle1 is available or not
expectedResults:
1.
2.
3. There should be no bundle in resources list
"""
view = navigate_to(appliance.collections.catalog_bundles, "Add")
options = view.resources.select_resource.all_options
assert catalog_bundle.name not in [o.text for o in options]
view.cancel_button.click()
25 changes: 0 additions & 25 deletions cfme/tests/services/test_generic_service_catalogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,28 +301,3 @@ def test_copy_catalog_bundle(appliance, request, generic_catalog_item):
# copy catalog item
new_cat_bundle = catalog_bundle.copy()
request.addfinalizer(new_cat_bundle.delete_if_exists)


@pytest.mark.meta(coverage=[1671522])
@pytest.mark.manual
@pytest.mark.ignore_stream('5.10')
@pytest.mark.tier(2)
def test_add_bundle_in_bundle():
"""
Bugzilla:
1671522
Polarion:
assignee: nansari
casecomponent: Services
initialEstimate: 1/16h
startsin: 5.11
testSteps:
1. Create catalog bundle1
2. Create catalog bundle2
3. Try to add bundle2 in bundle1
expectedResults:
1.
2.
3. Shouldn't add bundle in the bundle
"""
pass

0 comments on commit b5bc6f9

Please sign in to comment.