Fix test_saved_histories.py for #4681.

This commit is contained in:
John Chilton
2017-09-26 09:40:23 -04:00
parent 52b100e6a2
commit afe1ea7f20
+2 -5
View File
@@ -57,14 +57,11 @@ class SavedHistoriesTestCase(SharedStateSeleniumTestCase):
self.click_popup_option('Unnamed history', 'Rename')
# Rename the history
history_name_input = self.wait_for_selector('input[name="name"]')
history_name_input = self.wait_for_selector('.ui-form-element input.ui-input')
history_name_input.clear()
history_name_input.send_keys(self.history1_name)
self.send_enter(history_name_input)
message = self.wait_for_selector_visible('.infomessagelarge')
expected_message = 'History: Unnamed history renamed to: %s' % self.history1_name
self.assertEqual(expected_message, message.text)
self.wait_for_and_click_selector("button#submit")
self.navigate_to_saved_histories_page()