diff --git a/lib/galaxy/selenium/navigates_galaxy.py b/lib/galaxy/selenium/navigates_galaxy.py index 806e8705a701..73de15c1bd16 100644 --- a/lib/galaxy/selenium/navigates_galaxy.py +++ b/lib/galaxy/selenium/navigates_galaxy.py @@ -1516,13 +1516,16 @@ def workflow_create_new(self, annotation=None, clear_placeholder=False): self.click_button_new_workflow() self.sleep_for(self.wait_types.UX_RENDER) name = self._get_random_name() - name_component = self.components.workflows.create.name + name_component = self.components.workflow_editor.edit_name if clear_placeholder: name_component.wait_for_visible().clear() name_component.wait_for_and_send_keys(name) annotation = annotation or self._get_random_name() - self.components.workflows.create.annotation.wait_for_and_send_keys(annotation) - self.components.workflows.create.submit.wait_for_and_click() + self.components.workflow_editor.edit_annotation.wait_for_and_send_keys(annotation) + save_button = self.components.workflow_editor.save_button + save_button.wait_for_visible() + assert not save_button.has_class("disabled") + save_button.wait_for_and_click() return name def invocation_index_table_elements(self):