Fix selenium workflow tests broken with #3181.

This commit is contained in:
John Chilton
2017-01-27 10:10:56 -05:00
parent f8ef6e33a8
commit ebfd740025
+5 -6
View File
@@ -55,7 +55,7 @@ class WorkflowEditorTestCase(SeleniumTestCase):
time.sleep(.5)
modal_element = self.wait_for_selector_visible(self.modal_body_selector())
text = modal_element.text
assert "using version '0.2' instead of version '0.0.1'" in text, text
assert "Using version '0.2' instead of version '0.0.1'" in text, text
@selenium_test
def test_editor_invalid_tool_state(self):
@@ -66,7 +66,7 @@ class WorkflowEditorTestCase(SeleniumTestCase):
time.sleep(.5)
modal_element = self.wait_for_selector_visible(self.modal_body_selector())
text = modal_element.text
assert "using version '0.2' instead of version '0.0.1'" in text, text
assert "Using version '0.2' instead of version '0.0.1'" in text, text
assert "Using default: '1'" in text, text
@selenium_test
@@ -85,10 +85,9 @@ steps:
self.workflow_index_open()
self.workflow_index_click_option("Edit")
time.sleep(.5)
self.workflow_editor_click_option("Auto Re-layout")
time.sleep(.1)
self.workflow_editor_click_option("Save")
# Server error message, this is a problem...
modal_element = self.wait_for_selector_visible(self.modal_body_selector())
text = modal_element.text
assert "Tool is not installed" in text, text
def workflow_create_new(self, name=None, annotation=None):
self.workflow_index_open()