Skip to content

Commit

Permalink
in selenium tests, only close the browser window if the test was succ…
Browse files Browse the repository at this point in the history
…essful
  • Loading branch information
rbuels committed Mar 13, 2012
1 parent ff103c9 commit 55cbd44
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions tests/selenium_tests/jbrowse_selenium.py
Expand Up @@ -23,9 +23,6 @@ def setUp( self ):
+ ( "?data="+self.data_dir if self.data_dir else "" )
)

def tearDown( self ):
self.browser.close()

## convenience methods for us

def assert_element( self, xpathExpression ):
Expand Down
2 changes: 1 addition & 1 deletion tests/selenium_tests/volvox_biodb_test.py
Expand Up @@ -36,7 +36,7 @@ def test_volvox( self ):
# test sequence track display
self.sequence()

pass;
self.browser.close()

def sequence( self ):
self.do_typed_query( '0..80' );
Expand Down
2 changes: 1 addition & 1 deletion tests/selenium_tests/yeast_biodb_test.py
Expand Up @@ -31,7 +31,7 @@ def test_yeast( self ):
# test scrolling, make sure we get no js errors
self.scroll()

pass;
self.browser.close()

def search_yal024c( self ):

Expand Down

0 comments on commit 55cbd44

Please sign in to comment.