Fix import order and style

This commit is contained in:
guerler
2017-11-18 15:44:16 -05:00
parent 6e2285d3f2
commit 33eb15b63c
2 changed files with 25 additions and 7 deletions
+4 -2
View File
@@ -89,8 +89,10 @@ steps:
form_element = self.driver.find_element_by_css_selector("#submit")
name = name or self._get_random_name()
annotation = annotation or self._get_random_name()
self.driver.find_element_by_css_selector("[tour_id=workflow_name] input").setAttribute("value", name);
self.driver.find_element_by_css_selector("[tour_id=workflow_annotation] input").setAttribute("value", annotation);
el_name = self.driver.find_element_by_css_selector("[tour_id=workflow_name] input")
el_name.send_keys(name)
el_annotation = self.driver.find_element_by_css_selector("[tour_id=workflow_annotation] input")
el_annotation.send_keys(annotation);
self.click_submit(form_element)
@retry_assertion_during_transitions