diff --git a/lib/galaxy/webapps/galaxy/controllers/workflow.py b/lib/galaxy/webapps/galaxy/controllers/workflow.py index d0e23d5c07b..448b59c3c14 100644 --- a/lib/galaxy/webapps/galaxy/controllers/workflow.py +++ b/lib/galaxy/webapps/galaxy/controllers/workflow.py @@ -28,11 +28,27 @@ from galaxy.util import ( ) from galaxy.util.sanitize_html import sanitize_html from galaxy.web import error, url_for -from galaxy.web.base.controller import BaseUIController, SharableMixin, UsesStoredWorkflowMixin -from galaxy.web.framework.helpers import grids, time_ago -from galaxy.workflow.extract import extract_workflow, summarize -from galaxy.workflow.modules import module_factory, WorkflowModuleInjector -from galaxy.workflow.render import WorkflowCanvas, STANDALONE_SVG_TEMPLATE +from galaxy.web.base.controller import ( + BaseUIController, + SharableMixin, + UsesStoredWorkflowMixin +) +from galaxy.web.framework.helpers import ( + grids, + time_ago, +) +from galaxy.workflow.extract import ( + extract_workflow, + summarize +) +from galaxy.workflow.modules import ( + module_factory, + WorkflowModuleInjector +) +from galaxy.workflow.render import ( + STANDALONE_SVG_TEMPLATE, + WorkflowCanvas +) from tool_shed.util import encoding_util log = logging.getLogger(__name__) diff --git a/test/selenium_tests/test_workflow_editor.py b/test/selenium_tests/test_workflow_editor.py index f985900940c..a897e0e2eb2 100644 --- a/test/selenium_tests/test_workflow_editor.py +++ b/test/selenium_tests/test_workflow_editor.py @@ -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