From 8bfd065135b900c910c257db6dcebcdda294c223 Mon Sep 17 00:00:00 2001 From: john-dupuy Date: Fri, 5 Apr 2019 08:15:45 -0400 Subject: [PATCH 1/2] Add manual case for BZ 1595259 --- cfme/tests/generic_objects/test_instances.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/cfme/tests/generic_objects/test_instances.py b/cfme/tests/generic_objects/test_instances.py index 84941257c6..f3add2f259 100644 --- a/cfme/tests/generic_objects/test_instances.py +++ b/cfme/tests/generic_objects/test_instances.py @@ -254,3 +254,23 @@ def test_generic_objects_tag_rest(appliance, generic_object, tags): generic_object.remove_tag(tag) tag_available = generic_object.get_tags() assert tag.id not in [t.id for t in tag_available] + + +@pytest.mark.manual +@pytest.mark.ignore_stream("5.10") +def test_import_export_generic_object(): + """ + Bugzillas: + * 1595259 + + Polarion: + assignee: jdupuy + initialEstimate: 1/6h + caseimportance: high + caseposneg: positive + testtype: functional + startsin: 5.11 + casecomponent: GenericObjects + + """ + pass From b2ab54a7de514c05cfaa76ea2daa10c7e55f4505 Mon Sep 17 00:00:00 2001 From: john-dupuy Date: Tue, 9 Apr 2019 14:30:17 -0400 Subject: [PATCH 2/2] Add some testSteps and expectedResults --- cfme/tests/generic_objects/test_instances.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/cfme/tests/generic_objects/test_instances.py b/cfme/tests/generic_objects/test_instances.py index f3add2f259..2fd99122fd 100644 --- a/cfme/tests/generic_objects/test_instances.py +++ b/cfme/tests/generic_objects/test_instances.py @@ -260,8 +260,8 @@ def test_generic_objects_tag_rest(appliance, generic_object, tags): @pytest.mark.ignore_stream("5.10") def test_import_export_generic_object(): """ - Bugzillas: - * 1595259 + Bugzilla: + 1595259 Polarion: assignee: jdupuy @@ -271,6 +271,13 @@ def test_import_export_generic_object(): testtype: functional startsin: 5.11 casecomponent: GenericObjects - + testSteps: + 1. Import a generic object yaml + 2. Create a generic object + 3. Export a generic object + expectedResults: + 1. The generic object should be present in CFME + 2. + 3. The generic object should be exported to a yaml file """ pass