mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Selenium - fix transient history in test_saved_histories related to fetching history names.
xref https://jenkins.galaxyproject.org/job/selenium/588/artifact/588-test-errors/test_delete_and_undelete_history2017092415231506281014/stacktrace.txt
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import time
|
||||
|
||||
from .framework import (
|
||||
retry_during_transitions,
|
||||
retry_assertion_during_transitions,
|
||||
selenium_test,
|
||||
SharedStateSeleniumTestCase,
|
||||
@@ -254,8 +255,9 @@ class SavedHistoriesTestCase(SharedStateSeleniumTestCase):
|
||||
else:
|
||||
self.assertEqual(intersection, set())
|
||||
|
||||
@retry_during_transitions
|
||||
def get_histories(self):
|
||||
time.sleep(1.5)
|
||||
time.sleep(.5)
|
||||
names = []
|
||||
grid = self.wait_for_selector('#grid-table-body')
|
||||
for row in grid.find_elements_by_tag_name('tr'):
|
||||
|
||||
Reference in New Issue
Block a user