Skip to content

Instantly share code, notes, and snippets.

@rbuels
Created October 24, 2013 17:57
Show Gist options
  • Save rbuels/7142021 to your computer and use it in GitHub Desktop.
Save rbuels/7142021 to your computer and use it in GitHub Desktop.
JBROWSE_URL='http://localhost/jbrowse2/index.html' nosetests -v --nologcapture tests/selenium_tests/
test_volvox (embedded_mode_test.EmbeddedModeTest) ...
working on refseq ctgA
working on track ExampleFeatures
working on track NameTest
working on track snps
working on track Motifs
working on track malformed_alignments
working on track Genes
working on track ReadingFrame
working on track CDS
working on track Transcript
working on track Clones
working on track EST
working on refseq ctgB
working on track ExampleFeatures
working on track NameTest
working on track snps
working on track Motifs
working on track malformed_alignments
working on track Genes
working on track ReadingFrame
working on track CDS
working on track Transcript
working on track Clones
working on track EST
ok
test_faceted (modencode_faceted_tracksel_test.ModEncodeFacetedTest) ... ok
test_volvox (volvox_biodb_121_test.VolvoxBiodbTest121) ... FAIL
test_volvox (volvox_biodb_test.VolvoxBiodbTest) ...
working on refseq ctgA
working on track ExampleFeatures
working on track NameTest
working on track snps
working on track Motifs
working on track malformed_alignments
working on track Genes
working on track ReadingFrame
working on track CDS
working on track Transcript
working on track Clones
working on track EST
working on refseq ctgB
working on track ExampleFeatures
working on track NameTest
working on track snps
working on track Motifs
working on track malformed_alignments
working on track Genes
working on track ReadingFrame
working on track CDS
working on track Transcript
working on track Clones
working on track EST
ERROR
test_volvox (welcome_page_test.WelcomePageTest) ... ok
test_yeast (yeast_biodb_test.YeastBiodbTest) ...
working on refseq chrI
working on track Genes
working on track transcript_with_no_features
working on refseq chrII
working on track Genes
working on track transcript_with_no_features
ERROR
======================================================================
ERROR: test_volvox (volvox_biodb_test.VolvoxBiodbTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/rob/jbrowse/jbrowse2/tests/selenium_tests/volvox_biodb_test.py", line 40, in test_volvox
self.context_menus()
File "/home/rob/jbrowse/jbrowse2/tests/selenium_tests/volvox_biodb_test.py", line 197, in context_menus
.context_click(feature_elements[40]) \
IndexError: list index out of range
======================================================================
ERROR: test_yeast (yeast_biodb_test.YeastBiodbTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/rob/jbrowse/jbrowse2/tests/selenium_tests/yeast_biodb_test.py", line 32, in test_yeast
self.overview_rubberband( 0.2, 0.5 );
File "/home/rob/jbrowse/jbrowse2/tests/selenium_tests/jbrowse_selenium/JBrowseTest.py", line 166, in overview_rubberband
self._rubberband( "//div[@id='overview']", start_pct, end_pct )
File "/home/rob/jbrowse/jbrowse2/tests/selenium_tests/jbrowse_selenium/JBrowseTest.py", line 124, in _rubberband
.release( None ) \
File "/home/rob/python-lib/local/lib/python2.7/site-packages/selenium/webdriver/common/action_chains.py", line 44, in perform
action()
File "/home/rob/python-lib/local/lib/python2.7/site-packages/selenium/webdriver/common/action_chains.py", line 190, in <lambda>
'yoffset': yoffset}))
File "/home/rob/python-lib/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 165, in execute
self.error_handler.check_response(response)
File "/home/rob/python-lib/local/lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 158, in check_response
raise exception_class(message, screen, stacktrace)
MoveTargetOutOfBoundsException: Message: u'Element cannot be scrolled into view:[object XrayWrapper [object HTMLDivElement]]'
======================================================================
FAIL: test_volvox (volvox_biodb_121_test.VolvoxBiodbTest121)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/rob/jbrowse/jbrowse2/tests/selenium_tests/volvox_biodb_121_test.py", line 31, in test_volvox
self.wiggle()
File "/home/rob/jbrowse/jbrowse2/tests/selenium_tests/volvox_biodb_test.py", line 225, in wiggle
imagetrack_png = self.assert_element( imagetrack_xpath )
File "/home/rob/jbrowse/jbrowse2/tests/selenium_tests/jbrowse_selenium/JBrowseTest.py", line 66, in assert_element
assert 0, ( "can't find %s" % expression )
AssertionError: can't find //div[contains(@class,'track')]//img[@class='image-track']
----------------------------------------------------------------------
Ran 6 tests in 59.068s
FAILED (errors=2, failures=1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment