mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix (now less fragile).
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
|
||||
#if $refresh
|
||||
<meta http-equiv="refresh" content="10">
|
||||
<!-- running: do not change this comment, used by TwillTestCase.wait -->
|
||||
#end if
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
||||
|
||||
@@ -290,7 +290,7 @@ class TwillTestCase(unittest.TestCase):
|
||||
count += 1
|
||||
tc.go("./history")
|
||||
page = tc.browser.get_html()
|
||||
if page.find('add_refresh( 9 );') > -1:
|
||||
if page.find( '<!-- running: do not change this comment, used by TwillTestCase.wait -->' ) > -1:
|
||||
time.sleep( sleep_amount )
|
||||
sleep_amount += 1
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user