Modified create module test to adapt to new the changes

(cherry picked from commit fb7d1894d4)
This commit is contained in:
axl89 2016-08-17 13:01:33 +02:00
parent 6c27a6e16a
commit 107c734aee
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ def create_network_server_module(driver,agent_name=None,module_name=None,compone
driver.find_element_by_xpath('//ul[@class="mn"]/li/a/img[@data-title="Modules"]').click()
Select(driver.find_element_by_id("moduletype")).select_by_visible_text("Create a new network server module")
driver.find_element_by_xpath('//*[@id="create_module_type"]/table/tbody/tr/td[5]/input').click()
driver.find_element_by_xpath('//*[@id="main"]/form/table/tbody/tr/td[5]/input').click()
driver.find_element_by_xpath('//a[contains(.,"Advanced options")]').click()
@ -97,7 +97,7 @@ def create_data_server_module(driver,module_name,agent_name=None,type=None,min_w
driver.find_element_by_xpath('//ul[@class="mn"]/li/a/img[@data-title="Modules"]').click()
Select(driver.find_element_by_id("moduletype")).select_by_visible_text("Create a new data server module")
driver.find_element_by_xpath('//*[@id="create_module_type"]/table/tbody/tr/td[5]/input').click()
driver.find_element_by_xpath('//*[@id="main"]/form/table/tbody/tr/td[5]/input').click()
driver.find_element_by_xpath('//a[contains(.,"Advanced options")]').click()