Remove deprecated method click_hda_title in navigates_galaxy.

This commit is contained in:
John Chilton
2017-10-02 09:50:37 -04:00
parent 27ef24601c
commit cce59aeb55
3 changed files with 7 additions and 10 deletions
-4
View File
@@ -791,10 +791,6 @@ class NavigatesGalaxy(HasDriver):
else:
self.wait_for_selector_visible(details_selector)
def click_hda_title(self, hda_id, wait=False):
# TODO: Replace with calls to history_panel_click_item_title.
return self.history_panel_click_item_title(hda_id=hda_id, wait=wait)
def collection_builder_set_name(self, name):
name_element = self.wait_for_selector_visible("input.collection-name")
name_element.send_keys(name)
+5 -4
View File
@@ -21,12 +21,13 @@ class HistoryOptionsTestCase(SeleniumTestCase):
self.assert_selector_absent_or_hidden(menu_selector)
hda_id = self.latest_history_item()["id"]
self.click_hda_title(hda_id, wait=True)
hda = self.latest_history_item()
hid = hda["hid"]
self.history_panel_click_item_title(hid=hid, wait=True)
hda_body_selector = self.hda_body_selector(hda_id)
hda_body_selector = self.hda_body_selector(hda["id"])
self.wait_for_selector_visible(hda_body_selector)
self.click_hda_title(hda_id, wait=True)
self.history_panel_click_item_title(hid=hid, wait=True)
self.assert_selector_absent_or_hidden_after_transitions(hda_body_selector)
+2 -2
View File
@@ -92,7 +92,7 @@ class HistoryPanelTestCase(SeleniumTestCase):
hda_body_selector = self.hda_body_selector(hda_id)
self.assert_selector_absent_or_hidden(hda_body_selector)
self.click_hda_title(hda_id, wait=True)
self.history_panel_click_item_title(hda_id, wait=True)
self.wait_for_selector_visible(hda_body_selector)
self.history_panel_refresh_click()
@@ -100,7 +100,7 @@ class HistoryPanelTestCase(SeleniumTestCase):
title_selector = self.hda_div_selector(hda_id)
self.wait_for_selector_visible(hda_body_selector)
self.click_hda_title(hda_id, wait=True)
self.history_panel_click_item_title(hda_id, wait=True)
self.history_panel_refresh_click()
self.wait_for_selector(title_selector)