Skip to content

Instantly share code, notes, and snippets.

@rbuels
Created October 24, 2013 18:00
Show Gist options
  • Save rbuels/7142075 to your computer and use it in GitHub Desktop.
Save rbuels/7142075 to your computer and use it in GitHub Desktop.
rob@nightshade jbrowse2 (selenium_testing %)$ 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) ... ok
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_compressed_test.CompressedYeastBiodbTest) ...
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
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 31, in test_volvox
self.browser.execute_script('window.resizeTo(1000,600)')
File "/home/rob/python-lib/local/lib/python2.7/site-packages/selenium/webdriver/remote/webdriver.py", line 397, in execute_script
{'script': script, 'args':converted_args})['value']
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)
WebDriverException: Message: u'waiting for evaluate.js load failed' ; Stacktrace:
at injectAndExecuteScript/r (file:///tmp/tmpltGiBm/extensions/[email protected]/components/driver_component.js:8360)
at fxdriver.Timer.prototype.runWhenTrue/g (file:///tmp/tmpltGiBm/extensions/[email protected]/components/driver_component.js:392)
at fxdriver.Timer.prototype.setTimeout/<.notify (file:///tmp/tmpltGiBm/extensions/[email protected]/components/driver_component.js:386)
======================================================================
ERROR: test_yeast (yeast_biodb_compressed_test.CompressedYeastBiodbTest)
----------------------------------------------------------------------
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 151, 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 113, in _rubberband
c.perform()
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]]'
======================================================================
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 151, 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 113, in _rubberband
c.perform()
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]]'
----------------------------------------------------------------------
Ran 7 tests in 70.703s
FAILED (errors=3)
rob@nightshade jbrowse2 (selenium_testing %)$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment