Skip to content

Commit

Permalink
More workflow test case fixes for #4047.
Browse files Browse the repository at this point in the history
I think previously this button would be there on page load and now it is loaded after the page in JS.
  • Loading branch information
jmchilton committed May 20, 2017
1 parent 3f4d820 commit a2ed7f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/galaxy_selenium/navigates_galaxy.py
Expand Up @@ -449,7 +449,8 @@ def click_masthead_workflow(self):
self.click_xpath(self.navigation_data["selectors"]["masthead"]["workflow"])

def click_button_new_workflow(self):
self.click_selector(self.navigation_data["selectors"]["workflows"]["new_button"])
element = self.wait_for_selector_clickable(self.navigation_data["selectors"]["workflows"]["new_button"])
element.click()

def wait_for_sizzle_selector_clickable(self, selector):
element = self._wait_on(
Expand Down

0 comments on commit a2ed7f2

Please sign in to comment.