Skip to content

Commit

Permalink
Changes made in policy parameters,VN list for SI as per UI changes
Browse files Browse the repository at this point in the history
TCs covered:
test1_2_create_svc_instances
test1_7_create_policies

Change-Id: I519eedaa7a9d9c85eb1a92f83eebb0d24b766fc0
  • Loading branch information
pavanap committed Jul 26, 2016
1 parent 9d0aa07 commit 4f03b19
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions fixtures/webui_test.py
Expand Up @@ -464,8 +464,9 @@ def create_svc_instance(self, fixture):
"return arguments[0].scrollIntoView();", service_temp)
service_temp.click()
break
intfs = self.browser.find_element_by_id(
'interfaces-collection').find_elements_by_id('virtualNetwork')
intfs = self.ui.find_element(
['interfaces-collection', 'data-cell-virtualNetwork'],
['id', 'class'], if_elements=[1])
for intf in intfs:
intf.click()
self.ui.select_from_dropdown(sel_vn)
Expand Down Expand Up @@ -616,8 +617,9 @@ def create_policy(self, fixture):
rule_list = ['direction', \
'simple_action', 'src_address', 'dst_address']
for item in rule_list:
rule_element = rules.find_element_by_id(
item)
item_data = 'data-cell-' + item
rule_element = self.ui.find_element(
item_data, 'class', browser=rules)
self.ui.click_on_dropdown(rule_element)
if item in ('simple_action'):
self.ui.select_from_dropdown(eval(item).upper())
Expand Down

0 comments on commit 4f03b19

Please sign in to comment.