Opened 8 months ago

Closed 8 months ago

#30341 closed defect (fixed)

tbb-testsuite: fix the screenshots test

Reported by: boklm Owned by: cypherpunks
Priority: Medium Milestone:
Component: Applications/Quality Assurance and Testing Version:
Severity: Normal Keywords: tbb-testsuite, boklm201904, TorBrowserTeam201904
Cc: tbb-team Actual Points:
Parent ID: #27105 Points:
Reviewer: Sponsor:

Description

The screenshots test is currently failing with the error:

Traceback (most recent call last):
File "/home/tbb-testsuite/tbb-testsuite/virtualenv-marionette-4.3.0/local/lib/python2.7/site-packages/marionette_harness-4.3.0-py2.7.egg/marionette_harness/marionette_test/testcases.py", line 156, in run
testMethod()
File "/home/tbb-testsuite/tbb-testsuite/marionette/tor_browser_tests/test_screenshots.py", line 27, in test_check_tpo
marionette.navigate(url)
File "/home/tbb-testsuite/tbb-testsuite/virtualenv-marionette-4.3.0/local/lib/python2.7/site-packages/marionette_driver-2.5.0-py2.7.egg/marionette_driver/marionette.py", line 1632, in navigate
self._send_message("get", {"url": url})
File "/home/tbb-testsuite/tbb-testsuite/virtualenv-marionette-4.3.0/local/lib/python2.7/site-packages/marionette_driver-2.5.0-py2.7.egg/marionette_driver/decorators.py", line 23, in _
return func(*args, **kwargs)
File "/home/tbb-testsuite/tbb-testsuite/virtualenv-marionette-4.3.0/local/lib/python2.7/site-packages/marionette_driver-2.5.0-py2.7.egg/marionette_driver/marionette.py", line 740, in _send_message
    self._handle_error(err)
  File "/home/tbb-testsuite/tbb-testsuite/virtualenv-marionette-4.3.0/local/lib/python2.7/site-packages/marionette_driver-2.5.0-py2.7.egg/marionette_driver/marionette.py", line 764, in _handle_error
    raise errors.lookup(error)(message, stacktrace=stacktrace)
UnknownException: Reached error page: about:neterror?e=fileNotFound&u=chrome%3A//torbutton/content/preferences.xul&c=UTF-8&f=regular&d=Die%20Dateien%20unter%20chrome%3A//torbutton/content/preferences.xul%20konnten%20nicht%20gefunden%20werden.
stacktrace:
	WebDriverError@chrome://marionette/content/error.js:178:5
	UnknownError@chrome://marionette/content/error.js:529:5
handleReadyState@chrome://marionette/content/listener.js:277:21
handleEvent@chrome://marionette/content/listener.js:245:9

Child Tickets

Change History (1)

comment:1 Changed 8 months ago by boklm

Resolution: fixed
Status: newclosed

This is fixed by commit db8c2706e81e596ec41b129b5d8754c1a37d3fc4. This is fixed by removing chrome://torbutton/content/preferences.xul (which does not exist anymore in torbutton), from the list of URLs to take screenshot of.

Note: See TracTickets for help on using tickets.