mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix selenium workflow tests broken with #3181.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user