Added system info test case of Provision UI (#474)

* Added system info test case of Provision UI

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added url of Provision UI in allure

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added Prov UI test cases for creating device in Inventory

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Repalced = with : in allure of Prov UI url

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* changed the test case name

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Changed the payload parameters to match Prov UI

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added configuration in Prov class

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Removed the class of ProvUtils

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added the prov UI api testcases for adding and deleting a device

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Removed the configuration file

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added prov ui fixture

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added Prov UI controller object and fixture

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added prov controller obj

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Changed the allure report name for some attchments

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
This commit is contained in:
Haricharan Jaka
2022-04-25 21:28:54 +05:30
committed by GitHub
parent 9b475c392f
commit 837ba81d68
4 changed files with 116 additions and 28 deletions

View File

@@ -316,6 +316,14 @@ def setup_controller(request, get_configuration, add_env_properties, fixtures_ve
request.addfinalizer(fixtures_ver.disconnect)
yield sdk_client
# Prov Controller Fixture
@pytest.fixture(scope="session")
def setup_prov_controller(request, get_configuration, add_env_properties, fixtures_ver):
"""sets up the prov controller connection and yields the sdk_client object"""
sdk_client = fixtures_ver.prov_controller_obj
request.addfinalizer(fixtures_ver.disconnect)
yield sdk_client
@pytest.fixture(scope="session")
def setup_firmware(setup_controller):