Report generated on 15-Dec-2016 at 10:20:07

Environment

Base URL http://bedrock:8000
Capability browserName: firefox
Capability tags: ['bedrock']
Driver Remote
Platform Linux-3.13.0-24-generic-x86_64-with-Ubuntu-16.04-xenial
Python 2.7.12
Server http://hub:4444

Summary

57 tests ran in 76.77 seconds.

50 passed, 6 skipped, 7 failed, 0 errors, 0 expected failures, 0 unexpected passes, 0 rerun

Results

Result Test Duration Links
Failed tests/functional/contribute/test_stories.py::test_show_hide_story 1.75
base_url = 'http://bedrock:8000'
selenium = <selenium.webdriver.remote.webdriver.WebDriver (session="03dbc12c-6bda-458f-8b05-fa433d5ec5af")>

@pytest.mark.smoke
@pytest.mark.nondestructive
def test_show_hide_story(base_url, selenium):
page = ContributeStoriesPage(selenium, base_url).open()
> page.show_story()

base_url = 'http://bedrock:8000'
page = <pages.contribute.stories.ContributeStoriesPage object at 0x7fc825757d90>
selenium = <selenium.webdriver.remote.webdriver.WebDriver (session="03dbc12c-6bda-458f-8b05-fa433d5ec5af")>

tests/functional/contribute/test_stories.py:15:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/pages/contribute/stories.py:24: in show_story
self.wait.until(lambda m: story.get_attribute('aria-hidden') == 'false')
/usr/local/lib/python2.7/dist-packages/selenium/webdriver/support/wait.py:71: in until
value = method(self._driver)
tests/pages/contribute/stories.py:24: in <lambda>
self.wait.until(lambda m: story.get_attribute('aria-hidden') == 'false')
/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webelement.py:141: in get_attribute
resp = self._execute(Command.GET_ELEMENT_ATTRIBUTE, {'name': name})
/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webelement.py:494: in _execute
return self._parent.execute(command, params)
/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py:236: in execute
self.error_handler.check_response(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <selenium.webdriver.remote.errorhandler.ErrorHandler object at 0x7fc825812910>
response = {'status': 500, 'value': '{"state":"javascript error","sessionId":"03dbc12c-6bda-458f-8b05-fa433d5ec5af","hCode":30069...AAAAAAAAAAAAAAAAAAAAAAAAAHAQvJ4yT1OAbi0AAAAASUVORK5CYII="},"class":"org.openqa.selenium.remote.Response","status":17}'}

def check_response(self, response):
"""
Checks that a JSON response from the WebDriver does not have an error.

:Args:
- response - The JSON response from the WebDriver server as a dictionary
object.

:Raises: If the response contains an error message.
"""
status = response.get('status', None)
if status is None or status == ErrorCode.SUCCESS:
return

value = None
message = response.get("message", "")
screen = response.get("screen", "")
stacktrace = None
if isinstance(status, int):
value_json = response.get('value', None)
if value_json and isinstance(value_json, basestring):
import json
try:
value = json.loads(value_json)
status = value.get('error', None)
if status is None:
status = value["status"]
message = value["value"]
if not isinstance(message, basestring):
value = message
try:
message = message['message']
except TypeError:
message = None
else:
message = value.get('message', None)
except ValueError:
pass

exception_class = ErrorInResponseException
if status in ErrorCode.NO_SUCH_ELEMENT:
exception_class = NoSuchElementException
elif status in ErrorCode.NO_SUCH_FRAME:
exception_class = NoSuchFrameException
elif status in ErrorCode.NO_SUCH_WINDOW:
exception_class = NoSuchWindowException
elif status in ErrorCode.STALE_ELEMENT_REFERENCE:
exception_class = StaleElementReferenceException
elif status in ErrorCode.ELEMENT_NOT_VISIBLE:
exception_class = ElementNotVisibleException
elif status in ErrorCode.INVALID_ELEMENT_STATE:
exception_class = InvalidElementStateException
elif status in ErrorCode.INVALID_SELECTOR \
or status in ErrorCode.INVALID_XPATH_SELECTOR \
or status in ErrorCode.INVALID_XPATH_SELECTOR_RETURN_TYPER:
exception_class = InvalidSelectorException
elif status in ErrorCode.ELEMENT_IS_NOT_SELECTABLE:
exception_class = ElementNotSelectableException
elif status in ErrorCode.INVALID_COOKIE_DOMAIN:
exception_class = WebDriverException
elif status in ErrorCode.UNABLE_TO_SET_COOKIE:
exception_class = WebDriverException
elif status in ErrorCode.TIMEOUT:
exception_class = TimeoutException
elif status in ErrorCode.SCRIPT_TIMEOUT:
exception_class = TimeoutException
elif status in ErrorCode.UNKNOWN_ERROR:
exception_class = WebDriverException
elif status in ErrorCode.UNEXPECTED_ALERT_OPEN:
exception_class = UnexpectedAlertPresentException
elif status in ErrorCode.NO_ALERT_OPEN:
exception_class = NoAlertPresentException
elif status in ErrorCode.IME_NOT_AVAILABLE:
exception_class = ImeNotAvailableException
elif status in ErrorCode.IME_ENGINE_ACTIVATION_FAILED:
exception_class = ImeActivationFailedException
elif status in ErrorCode.MOVE_TARGET_OUT_OF_BOUNDS:
exception_class = MoveTargetOutOfBoundsException
else:
exception_class = WebDriverException
if value == '' or value is None:
value = response['value']
if isinstance(value, basestring):
if exception_class == ErrorInResponseException:
raise exception_class(response, value)
raise exception_class(value)
if message == "" and 'message' in value:
message = value['message']

screen = None
if 'screen' in value:
screen = value['screen']

stacktrace = None
if 'stackTrace' in value and value['stackTrace']:
stacktrace = []
try:
for frame in value['stackTrace']:
line = self._value_or_default(frame, 'lineNumber', '')
file = self._value_or_default(frame, 'fileName', '<anonymous>')
if line:
file = "%s:%s" % (file, line)
meth = self._value_or_default(frame, 'methodName', '<anonymous>')
if 'className' in frame:
meth = "%s.%s" % (frame['className'], meth)
msg = " at %s (%s)"
msg = msg % (meth, file)
stacktrace.append(msg)
except TypeError:
pass
if exception_class == ErrorInResponseException:
raise exception_class(response, message)
elif exception_class == UnexpectedAlertPresentException and 'alert' in value:
raise exception_class(message, screen, stacktrace, value['alert'].get('text'))
> raise exception_class(message, screen, stacktrace)
E WebDriverException: Message: Element reference not seen before: 7d113920-c8e4-4232-bd18-22877fa58c80
E Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:48:19 -0700'
E System info: host: 'e0b1f72865f3', ip: '172.17.0.7', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-24-generic', java.version: '1.8.0_111'
E Driver info: org.openqa.selenium.firefox.FirefoxDriver
E Capabilities [{rotatable=false, raisesAccessibilityExceptions=false, marionette=true, firefoxOptions={args=[], profile=UEsDBBQACAgIAGISj0kAAAAAAAAAAAAAAAAHAAAAdXNlci5qc51WTW/bMAy971cMOW3AKqTretlOXdcBA4Z1aFDsKMgSbauRJU0fcfPvR/mjSRNHbndKbJMS+fj4yOjBUeugfLconGnxiXhWQvdf6oo0TLXMAQHNCgVi8eFtyZSH91/exJ2nYAFtrHEhudTAVKj7Z4JGG8ln/DWE1rg1qUOwxNbS19uz9Nky788U6CrU6Pjx8vK52xiwAybwR0AAHkB8l86HK4yFK0C34OJhuKbBvB4pr51pgHrupA3URU2DbJLLxXL6osAKTxAOfauvlfEwnc1oLUyrlWEC79KsSsDWpv1Tg14hWgmpaXeLQdng02W0MYKpGexhE4xRnoBzxnGjvVH7cB+n72WljUbUGmgKcKvu0edz8eC9RKtgkAsOfETcSgyUcsd8nfdVUq+JsaApPAZwmqlUzFczqExlvYt6+rIWCuHkBp8Z54DljBoz90gHysEFP4nEU6Wkt4ptQdycL1e/DDInlfbTtDG+Erf6j9RYX3++JBIvMvd3P9FjwQoTw+dCMb1eHHOuT4gypeiDRzBSnLKH/ji2RysRbrQlbS0DKOkDHvA3SneKCYkGaxnI0E0j6zC5xIUsAIphYbAB8lTzibfRkhq7xuLZtAXFUwdFl0q6OEg5VVt3rCHRYoGBaIS23N6jyat1JNrUSjfZ8IBHJ8MWmaIA/xEfnOSBGicrqak1SvJtnqoaWmw7MuSTqeazQPuTSXq5ikUju1b53b286sj4Mt2cPCab8VN3DoVJRUHLE+q160NMs+34e9yIpizRDs6YtZ4g+0xLiy0VULKowrScjLBzbwf+TEd7zIcs20Y6I/dRqYLbkl4ZO/uPc7bZo0dEbu5/XpELwnZFOk7vgW1YPyGyonpYirFH8jw6jtvBQzfEspf0NE3H5/PcQ5zFYL71SrDiSIIkOufLUxran0o1C/hIYQN6RkH3JuMtMmw2nEIZvu407UWF8sAcrwfazE3dhvTkJiI2Nls0JPmLqPiMLwYBclJMC+qRBh2Kz8X05tOL9dnYfciiEGdG8mB7QlmGFWd+t9kbnL4b67vBiQoUO6nOIpeYNR3EXuuYftJ1K9APfd1vKSeXs2Fk0U6sBMKoK5rkf4YkNeC05DXw9bder772X14/zQgTQqaI2cwgmNyZ/3dXVqaq0sthictK/14vdRlfozRitxZSJfZpWdVBnRh2e67jjf+jbHRsBNLgWtgRcZFWSQcHGO02mbR5IrFxf5xZZXZ9r0ofbb8B7JaMf1BLBwh1hce1pQMAALUMAABQSwECFAAUAAgICABiEo9JdYXHtaUDAAC1DAAABwAAAAAAAAAAAAAAAAAAAAAAdXNlci5qc1BLBQYAAAAAAQABADUAAADaAwAAAAA=}, appBuildId=20161104212021, version=, platform=LINUX, tags=[bedrock], proxy={}, command_id=1, specificationLevel=0, acceptSslCerts=false, processId=242, browserVersion=50.0, platformVersion=3.13.0-24-generic, XULappId={ec8030f7-c20a-464f-9b0e-13a3a9e97384}, browserName=firefox, takesScreenshot=true, takesElementScreenshot=true, platformName=linux, firefox_profile=UEsDBBQAAAAIAGJSj0mBD/yDnAMAA...}]
E Session ID: 624c1101-6a8c-4b4f-b4a6-b578eb5e7418
E Screenshot: available via screen
E Stacktrace:
E at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (NativeConstructorAccessorImpl.java:-2)
E at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:62)
E at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:45)
E at java.lang.reflect.Constructor.newInstance (Constructor.java:423)
E at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException (W3CHttpResponseCodec.java:127)
E at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode (W3CHttpResponseCodec.java:93)
E at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode (W3CHttpResponseCodec.java:42)
E at org.openqa.selenium.remote.HttpCommandExecutor.execute (HttpCommandExecutor.java:163)
E at org.openqa.selenium.remote.service.DriverCommandExecutor.execute (DriverCommandExecutor.java:82)
E at org.openqa.selenium.remote.RemoteWebDriver.execute (RemoteWebDriver.java:601)
E at org.openqa.selenium.remote.RemoteWebElement.execute (RemoteWebElement.java:274)
E at org.openqa.selenium.remote.RemoteWebElement.getAttribute (RemoteWebElement.java:126)
E at sun.reflect.GeneratedMethodAccessor2.invoke (None:-1)
E at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
E at java.lang.reflect.Method.invoke (Method.java:498)
E at org.openqa.selenium.support.events.EventFiringWebDriver$EventFiringWebElement$1.invoke (EventFiringWebDriver.java:331)
E at com.sun.proxy.$Proxy7.getAttribute (None:-1)
E at org.openqa.selenium.support.events.EventFiringWebDriver$EventFiringWebElement.getAttribute (EventFiringWebDriver.java:369)
E at sun.reflect.GeneratedMethodAccessor2.invoke (None:-1)
E at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
E at java.lang.reflect.Method.invoke (Method.java:498)
E at org.openqa.selenium.remote.server.KnownElements$1.invoke (KnownElements.java:64)
E at com.sun.proxy.$Proxy8.getAttribute (None:-1)
E at org.openqa.selenium.remote.server.handler.GetElementAttribute.call (GetElementAttribute.java:36)
E at org.openqa.selenium.remote.server.handler.GetElementAttribute.call (GetElementAttribute.java:22)
E at java.util.concurrent.FutureTask.run (FutureTask.java:266)
E at org.openqa.selenium.remote.server.DefaultSession$1.run (DefaultSession.java:176)
E at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1142)
E at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617)
E at java.lang.Thread.run (Thread.java:745)

exception_class = <class 'selenium.common.exceptions.WebDriverException'>
file = 'Thread.java:745'
frame = {'class': 'java.lang.StackTraceElement', 'className': 'java.lang.Thread', 'fileName': 'Thread.java', 'hCode': -82946320, ...}
json = <module 'json' from '/usr/lib/python2.7/json/__init__.pyc'>
line = 745
message = "Element reference not seen before: 7d113920-c8e4-4232-bd18-22877fa58c80
Build info: version: '3.0.1', revision: '1969...latformName=linux, firefox_profile=UEsDBBQAAAAIAGJSj0mBD/yDnAMAA...}]
Session ID: 624c1101-6a8c-4b4f-b4a6-b578eb5e7418"
meth = 'java.lang.Thread.run'
msg = ' at java.lang.Thread.run (Thread.java:745)'
response = {'status': 500, 'value': '{"state":"javascript error","sessionId":"03dbc12c-6bda-458f-8b05-fa433d5ec5af","hCode":30069...AAAAAAAAAAAAAAAAAAAAAAAAAHAQvJ4yT1OAbi0AAAAASUVORK5CYII="},"class":"org.openqa.selenium.remote.Response","status":17}'}
screen = 'iVBORw0KGgoAAAANSUhEUgAABVAAAAP8CAIAAAAvEgKwAABBHklEQVR42uzdeZCU9Z348d2q/dNsbe0fcfePraR2aytblS2PxF8UUKOIB4KADoioeBuvG...AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAQvJ4yT1OAbi0AAAAASUVORK5CYII='
self = <selenium.webdriver.remote.errorhandler.ErrorHandler object at 0x7fc825812910>
stacktrace = [' at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (NativeConstructorAccessorImpl.java:-2)', ' at sun....c.java:127)', ' at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode (W3CHttpResponseCodec.java:93)', ...]
status = 17
value = {'additionalInformation': '
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities [{rotatable=false, rai....internal.BuildInfo', 'hCode': 773405954, ...}, 'cause': None, 'class': 'org.openqa.selenium.JavascriptException', ...}
value_json = '{"state":"javascript error","sessionId":"03dbc12c-6bda-458f-8b05-fa433d5ec5af","hCode":300696867,"value":{"additional...AAAAAAAAAAAAAAAAAAAAAAAAAAHAQvJ4yT1OAbi0AAAAASUVORK5CYII="},"class":"org.openqa.selenium.remote.Response","status":17}'

/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py:192: WebDriverException
------------------------------- pytest-selenium --------------------------------
URL: http://bedrock:8000/en-US/contribute/stories/shreyas/ WARNING: Failed to gather log types: Message: GET /session/624c1101-6a8c-4b4f-b4a6-b578eb5e7418/log/types did not match a known command Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:48:19 -0700' System info: host: 'e0b1f72865f3', ip: '172.17.0.7', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-24-generic', java.version: '1.8.0_111' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{rotatable=false, raisesAccessibilityExceptions=false, marionette=true, firefoxOptions={args=[], profile=UEsDBBQACAgIAGISj0kAAAAAAAAAAAAAAAAHAAAAdXNlci5qc51WTW/bMAy971cMOW3AKqTretlOXdcBA4Z1aFDsKMgSbauRJU0fcfPvR/mjSRNHbndKbJMS+fj4yOjBUeugfLconGnxiXhWQvdf6oo0TLXMAQHNCgVi8eFtyZSH91/exJ2nYAFtrHEhudTAVKj7Z4JGG8ln/DWE1rg1qUOwxNbS19uz9Nky788U6CrU6Pjx8vK52xiwAybwR0AAHkB8l86HK4yFK0C34OJhuKbBvB4pr51pgHrupA3URU2DbJLLxXL6osAKTxAOfauvlfEwnc1oLUyrlWEC79KsSsDWpv1Tg14hWgmpaXeLQdng02W0MYKpGexhE4xRnoBzxnGjvVH7cB+n72WljUbUGmgKcKvu0edz8eC9RKtgkAsOfETcSgyUcsd8nfdVUq+JsaApPAZwmqlUzFczqExlvYt6+rIWCuHkBp8Z54DljBoz90gHysEFP4nEU6Wkt4ptQdycL1e/DDInlfbTtDG+Erf6j9RYX3++JBIvMvd3P9FjwQoTw+dCMb1eHHOuT4gypeiDRzBSnLKH/ji2RysRbrQlbS0DKOkDHvA3SneKCYkGaxnI0E0j6zC5xIUsAIphYbAB8lTzibfRkhq7xuLZtAXFUwdFl0q6OEg5VVt3rCHRYoGBaIS23N6jyat1JNrUSjfZ8IBHJ8MWmaIA/xEfnOSBGicrqak1SvJtnqoaWmw7MuSTqeazQPuTSXq5ikUju1b53b286sj4Mt2cPCab8VN3DoVJRUHLE+q160NMs+34e9yIpizRDs6YtZ4g+0xLiy0VULKowrScjLBzbwf+TEd7zIcs20Y6I/dRqYLbkl4ZO/uPc7bZo0dEbu5/XpELwnZFOk7vgW1YPyGyonpYirFH8jw6jtvBQzfEspf0NE3H5/PcQ5zFYL71SrDiSIIkOufLUxran0o1C/hIYQN6RkH3JuMtMmw2nEIZvu407UWF8sAcrwfazE3dhvTkJiI2Nls0JPmLqPiMLwYBclJMC+qRBh2Kz8X05tOL9dnYfciiEGdG8mB7QlmGFWd+t9kbnL4b67vBiQoUO6nOIpeYNR3EXuuYftJ1K9APfd1vKSeXs2Fk0U6sBMKoK5rkf4YkNeC05DXw9bder772X14/zQgTQqaI2cwgmNyZ/3dXVqaq0sthictK/14vdRlfozRitxZSJfZpWdVBnRh2e67jjf+jbHRsBNLgWtgRcZFWSQcHGO02mbR5IrFxf5xZZXZ9r0ofbb8B7JaMf1BLBwh1hce1pQMAALUMAABQSwECFAAUAAgICABiEo9JdYXHtaUDAAC1DAAABwAAAAAAAAAAAAAAAAAAAAAAdXNlci5qc1BLBQYAAAAAAQABADUAAADaAwAAAAA=}, appBuildId=20161104212021, version=, platform=LINUX, tags=[bedrock], proxy={}, command_id=1, specificationLevel=0, acceptSslCerts=false, processId=242, browserVersion=50.0, platformVersion=3.13.0-24-generic, XULappId={ec8030f7-c20a-464f-9b0e-13a3a9e97384}, browserName=firefox, takesScreenshot=true, takesElementScreenshot=true, platformName=linux, firefox_profile=UEsDBBQAAAAIAGJSj0mBD/yDnAMAA...}] Session ID: 624c1101-6a8c-4b4f-b4a6-b578eb5e7418 Stacktrace: at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (NativeConstructorAccessorImpl.java:-2) at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance (Constructor.java:423) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException (W3CHttpResponseCodec.java:127) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode (W3CHttpResponseCodec.java:93) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode (W3CHttpResponseCodec.java:42) at org.openqa.selenium.remote.HttpCommandExecutor.execute (HttpCommandExecutor.java:163) at org.openqa.selenium.remote.service.DriverCommandExecutor.execute (DriverCommandExecutor.java:82) at org.openqa.selenium.remote.RemoteWebDriver.execute (RemoteWebDriver.java:601) at org.openqa.selenium.remote.RemoteWebDriver.execute (RemoteWebDriver.java:658) at org.openqa.selenium.remote.RemoteExecuteMethod.execute (RemoteExecuteMethod.java:33) at org.openqa.selenium.remote.RemoteLogs.getAvailableLogTypes (RemoteLogs.java:103) at org.openqa.selenium.remote.server.handler.GetAvailableLogTypesHandler.call (GetAvailableLogTypesHandler.java:37) at org.openqa.selenium.remote.server.handler.GetAvailableLogTypesHandler.call (GetAvailableLogTypesHandler.java:28) at java.util.concurrent.FutureTask.run (FutureTask.java:266) at org.openqa.selenium.remote.server.DefaultSession$1.run (DefaultSession.java:176) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617) at java.lang.Thread.run (Thread.java:745)
Failed tests/functional/firefox/os/test_devices.py::test_open_close_tv 1.84
base_url = 'http://bedrock:8000'
selenium = <selenium.webdriver.remote.webdriver.WebDriver (session="f4b4c15a-371b-4ffa-a570-39dc40d4d8e5")>

@pytest.mark.smoke
@pytest.mark.nondestructive
def test_open_close_tv(base_url, selenium):
page = DevicesPage(selenium, base_url).open()
> tv = page.open_tv_detail()

base_url = 'http://bedrock:8000'
page = <pages.firefox.os.devices.DevicesPage object at 0x7f145998b7d0>
selenium = <selenium.webdriver.remote.webdriver.WebDriver (session="f4b4c15a-371b-4ffa-a570-39dc40d4d8e5")>

tests/functional/firefox/os/test_devices.py:38:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/pages/firefox/os/devices.py:51: in open_tv_detail
self.wait.until(lambda s: detail.is_close_displayed)
/usr/local/lib/python2.7/dist-packages/selenium/webdriver/support/wait.py:71: in until
value = method(self._driver)
tests/pages/firefox/os/devices.py:51: in <lambda>
self.wait.until(lambda s: detail.is_close_displayed)
tests/pages/firefox/os/devices.py:78: in is_close_displayed
return self.is_element_displayed(*self._close_button_locator)
/usr/local/lib/python2.7/dist-packages/pypom/view.py:80: in is_element_displayed
return self.find_element(strategy, locator).is_displayed()
/usr/local/lib/python2.7/dist-packages/pypom/view.py:31: in find_element
return root.find_element(strategy, locator)
/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webelement.py:511: in find_element
{"using": by, "value": value})['value']
/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webelement.py:494: in _execute
return self._parent.execute(command, params)
/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py:236: in execute
self.error_handler.check_response(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <selenium.webdriver.remote.errorhandler.ErrorHandler object at 0x7f1459998810>
response = {'status': 500, 'value': '{"state":"javascript error","sessionId":"f4b4c15a-371b-4ffa-a570-39dc40d4d8e5","hCode":98292...AAAAAAAAAAAAAAAAAAAAAAAAAAA4CI9g2gwoKqXEAAAAAElFTkSuQmCC"},"class":"org.openqa.selenium.remote.Response","status":17}'}

def check_response(self, response):
"""
Checks that a JSON response from the WebDriver does not have an error.

:Args:
- response - The JSON response from the WebDriver server as a dictionary
object.

:Raises: If the response contains an error message.
"""
status = response.get('status', None)
if status is None or status == ErrorCode.SUCCESS:
return

value = None
message = response.get("message", "")
screen = response.get("screen", "")
stacktrace = None
if isinstance(status, int):
value_json = response.get('value', None)
if value_json and isinstance(value_json, basestring):
import json
try:
value = json.loads(value_json)
status = value.get('error', None)
if status is None:
status = value["status"]
message = value["value"]
if not isinstance(message, basestring):
value = message
try:
message = message['message']
except TypeError:
message = None
else:
message = value.get('message', None)
except ValueError:
pass

exception_class = ErrorInResponseException
if status in ErrorCode.NO_SUCH_ELEMENT:
exception_class = NoSuchElementException
elif status in ErrorCode.NO_SUCH_FRAME:
exception_class = NoSuchFrameException
elif status in ErrorCode.NO_SUCH_WINDOW:
exception_class = NoSuchWindowException
elif status in ErrorCode.STALE_ELEMENT_REFERENCE:
exception_class = StaleElementReferenceException
elif status in ErrorCode.ELEMENT_NOT_VISIBLE:
exception_class = ElementNotVisibleException
elif status in ErrorCode.INVALID_ELEMENT_STATE:
exception_class = InvalidElementStateException
elif status in ErrorCode.INVALID_SELECTOR \
or status in ErrorCode.INVALID_XPATH_SELECTOR \
or status in ErrorCode.INVALID_XPATH_SELECTOR_RETURN_TYPER:
exception_class = InvalidSelectorException
elif status in ErrorCode.ELEMENT_IS_NOT_SELECTABLE:
exception_class = ElementNotSelectableException
elif status in ErrorCode.INVALID_COOKIE_DOMAIN:
exception_class = WebDriverException
elif status in ErrorCode.UNABLE_TO_SET_COOKIE:
exception_class = WebDriverException
elif status in ErrorCode.TIMEOUT:
exception_class = TimeoutException
elif status in ErrorCode.SCRIPT_TIMEOUT:
exception_class = TimeoutException
elif status in ErrorCode.UNKNOWN_ERROR:
exception_class = WebDriverException
elif status in ErrorCode.UNEXPECTED_ALERT_OPEN:
exception_class = UnexpectedAlertPresentException
elif status in ErrorCode.NO_ALERT_OPEN:
exception_class = NoAlertPresentException
elif status in ErrorCode.IME_NOT_AVAILABLE:
exception_class = ImeNotAvailableException
elif status in ErrorCode.IME_ENGINE_ACTIVATION_FAILED:
exception_class = ImeActivationFailedException
elif status in ErrorCode.MOVE_TARGET_OUT_OF_BOUNDS:
exception_class = MoveTargetOutOfBoundsException
else:
exception_class = WebDriverException
if value == '' or value is None:
value = response['value']
if isinstance(value, basestring):
if exception_class == ErrorInResponseException:
raise exception_class(response, value)
raise exception_class(value)
if message == "" and 'message' in value:
message = value['message']

screen = None
if 'screen' in value:
screen = value['screen']

stacktrace = None
if 'stackTrace' in value and value['stackTrace']:
stacktrace = []
try:
for frame in value['stackTrace']:
line = self._value_or_default(frame, 'lineNumber', '')
file = self._value_or_default(frame, 'fileName', '<anonymous>')
if line:
file = "%s:%s" % (file, line)
meth = self._value_or_default(frame, 'methodName', '<anonymous>')
if 'className' in frame:
meth = "%s.%s" % (frame['className'], meth)
msg = " at %s (%s)"
msg = msg % (meth, file)
stacktrace.append(msg)
except TypeError:
pass
if exception_class == ErrorInResponseException:
raise exception_class(response, message)
elif exception_class == UnexpectedAlertPresentException and 'alert' in value:
raise exception_class(message, screen, stacktrace, value['alert'].get('text'))
> raise exception_class(message, screen, stacktrace)
E WebDriverException: Message: Element reference not seen before: 2deb8644-433e-4b14-966e-cb20059783fc
E Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:48:19 -0700'
E System info: host: 'a6a751426d04', ip: '172.17.0.4', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-24-generic', java.version: '1.8.0_111'
E Driver info: org.openqa.selenium.firefox.FirefoxDriver
E Capabilities [{rotatable=false, raisesAccessibilityExceptions=false, marionette=true, firefoxOptions={args=[], profile=UEsDBBQACAgIAG8Sj0kAAAAAAAAAAAAAAAAHAAAAdXNlci5qc51WTW/bMAy971cMOW3AKqTretlOXdcBA4Z1aFDsKMgSbauRJU0fcfPvR/mjSRNHbndKbJMS+fj4yOjBUeugfLconGnxiXhWQvdf6oo0TLXMAQHNCgVi8eFtyZSH91/exJ2nYAFtrHEhudTAVKj7Z4JGG8ln/DWE1rg1qUOwxNbS19uz9Nky788U6CrU6Pjx8vK52xiwAybwR0AAHkB8l86HK4yFK0C34OJhuKbBvB4pr51pgHrupA3URU2DbJLLxXL6osAKTxAOfauvlfEwnc1oLUyrlWEC79KsSsDWpv1Tg14hWgmpaXeLQdng02W0MYKpGexhE4xRnoBzxnGjvVH7cB+n72WljUbUGmgKcKvu0edz8eC9RKtgkAsOfETcSgyUcsd8nfdVUq+JsaApPAZwmqlUzFczqExlvYt6+rIWCuHkBp8Z54DljBoz90gHysEFP4nEU6Wkt4ptQdycL1e/DDInlfbTtDG+Erf6j9RYX3++JBIvMvd3P9FjwQoTw+dCMb1eHHOuT4gypeiDRzBSnLKH/ji2RysRbrQlbS0DKOkDHvA3SneKCYkGaxnI0E0j6zC5xIUsAIphYbAB8lTzibfRkhq7xuLZtAXFUwdFl0q6OEg5VVt3rCHRYoGBaIS23N6jyat1JNrUSjfZ8IBHJ8MWmaIA/xEfnOSBGicrqak1SvJtnqoaWmw7MuSTqeazQPuTSXq5ikUju1b53b286sj4Mt2cPCab8VN3DoVJRUHLE+q160NMs+34e9yIpizRDs6YtZ4g+0xLiy0VULKowrScjLBzbwf+TEd7zIcs20Y6I/dRqYLbkl4ZO/uPc7bZo0dEbu5/XpELwnZFOk7vgW1YPyGyonpYirFH8jw6jtvBQzfEspf0NE3H5/PcQ5zFYL71SrDiSIIkOufLUxran0o1C/hIYQN6RkH3JuMtMmw2nEIZvu407UWF8sAcrwfazE3dhvTkJiI2Nls0JPmLqPiMLwYBclJMC+qRBh2Kz8X05tOL9dnYfciiEGdG8mB7QlmGFWd+t9kbnL4b67vBiQoUO6nOIpeYNR3EXuuYftJ1K9APfd1vKSeXs2Fk0U6sBMKoK5rkf4YkNeC05DXw9bder772X14/zQgTQqaI2cwgmNyZ/3dXVqaq0sthictK/14vdRlfozRitxZSJfZpWdVBnRh2e67jjf+jbHRsBNLgWtgRcZFWSQcHGO02mbR5IrFxf5xZZXZ9r0ofbb8B7JaMf1BLBwh1hce1pQMAALUMAABQSwECFAAUAAgICABvEo9JdYXHtaUDAAC1DAAABwAAAAAAAAAAAAAAAAAAAAAAdXNlci5qc1BLBQYAAAAAAQABADUAAADaAwAAAAA=}, appBuildId=20161104212021, version=, platform=LINUX, tags=[bedrock], proxy={}, command_id=1, specificationLevel=0, acceptSslCerts=false, processId=949, browserVersion=50.0, platformVersion=3.13.0-24-generic, XULappId={ec8030f7-c20a-464f-9b0e-13a3a9e97384}, browserName=firefox, takesScreenshot=true, takesElementScreenshot=true, platformName=linux, firefox_profile=UEsDBBQAAAAIAG9Sj0mBD/yDnAMAA...}]
E Session ID: c2b680b4-d9bc-4191-bca5-6d55b8997eb6
E *** Element info: {Using=css selector, value=.device-detail-close}
E Screenshot: available via screen
E Stacktrace:
E at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (NativeConstructorAccessorImpl.java:-2)
E at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:62)
E at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:45)
E at java.lang.reflect.Constructor.newInstance (Constructor.java:423)
E at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException (W3CHttpResponseCodec.java:127)
E at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode (W3CHttpResponseCodec.java:93)
E at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode (W3CHttpResponseCodec.java:42)
E at org.openqa.selenium.remote.HttpCommandExecutor.execute (HttpCommandExecutor.java:163)
E at org.openqa.selenium.remote.service.DriverCommandExecutor.execute (DriverCommandExecutor.java:82)
E at org.openqa.selenium.remote.RemoteWebDriver.execute (RemoteWebDriver.java:601)
E at org.openqa.selenium.remote.RemoteWebElement.execute (RemoteWebElement.java:274)
E at org.openqa.selenium.remote.RemoteWebElement.findElement (RemoteWebElement.java:177)
E at org.openqa.selenium.remote.RemoteWebElement.findElementByCssSelector (RemoteWebElement.java:242)
E at org.openqa.selenium.By$ByCssSelector.findElement (By.java:430)
E at org.openqa.selenium.remote.RemoteWebElement.findElement (RemoteWebElement.java:173)
E at sun.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethodAccessorImpl.java:-2)
E at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
E at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
E at java.lang.reflect.Method.invoke (Method.java:498)
E at org.openqa.selenium.support.events.EventFiringWebDriver$EventFiringWebElement$1.invoke (EventFiringWebDriver.java:331)
E at com.sun.proxy.$Proxy7.findElement (None:-1)
E at org.openqa.selenium.support.events.EventFiringWebDriver$EventFiringWebElement.findElement (EventFiringWebDriver.java:406)
E at sun.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethodAccessorImpl.java:-2)
E at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
E at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
E at java.lang.reflect.Method.invoke (Method.java:498)
E at org.openqa.selenium.remote.server.KnownElements$1.invoke (KnownElements.java:64)
E at com.sun.proxy.$Proxy8.findElement (None:-1)
E at org.openqa.selenium.remote.server.handler.FindChildElement.call (FindChildElement.java:44)
E at org.openqa.selenium.remote.server.handler.FindChildElement.call (FindChildElement.java:30)
E at java.util.concurrent.FutureTask.run (FutureTask.java:266)
E at org.openqa.selenium.remote.server.DefaultSession$1.run (DefaultSession.java:176)
E at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1142)
E at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617)
E at java.lang.Thread.run (Thread.java:745)

exception_class = <class 'selenium.common.exceptions.WebDriverException'>
file = 'Thread.java:745'
frame = {'class': 'java.lang.StackTraceElement', 'className': 'java.lang.Thread', 'fileName': 'Thread.java', 'hCode': -82946320, ...}
json = <module 'json' from '/usr/lib/python2.7/json/__init__.pyc'>
line = 745
message = "Element reference not seen before: 2deb8644-433e-4b14-966e-cb20059783fc
Build info: version: '3.0.1', revision: '1969...}]
Session ID: c2b680b4-d9bc-4191-bca5-6d55b8997eb6
*** Element info: {Using=css selector, value=.device-detail-close}"
meth = 'java.lang.Thread.run'
msg = ' at java.lang.Thread.run (Thread.java:745)'
response = {'status': 500, 'value': '{"state":"javascript error","sessionId":"f4b4c15a-371b-4ffa-a570-39dc40d4d8e5","hCode":98292...AAAAAAAAAAAAAAAAAAAAAAAAAAA4CI9g2gwoKqXEAAAAAElFTkSuQmCC"},"class":"org.openqa.selenium.remote.Response","status":17}'}
screen = 'iVBORw0KGgoAAAANSUhEUgAABVAAAAP8CAIAAAAvEgKwAABDjElEQVR42uzdCZRU9Z3o8TfnzNvOmDl5887EmTdvRmMGzXvOTDajMkbccAVZRERU3BGVu...AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4CI9g2gwoKqXEAAAAAElFTkSuQmCC'
self = <selenium.webdriver.remote.errorhandler.ErrorHandler object at 0x7f1459998810>
stacktrace = [' at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (NativeConstructorAccessorImpl.java:-2)', ' at sun....c.java:127)', ' at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode (W3CHttpResponseCodec.java:93)', ...]
status = 17
value = {'additionalInformation': '
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities [{rotatable=false, rai...m.internal.BuildInfo', 'hCode': 77915193, ...}, 'cause': None, 'class': 'org.openqa.selenium.JavascriptException', ...}
value_json = '{"state":"javascript error","sessionId":"f4b4c15a-371b-4ffa-a570-39dc40d4d8e5","hCode":982920184,"value":{"additional...AAAAAAAAAAAAAAAAAAAAAAAAAAAA4CI9g2gwoKqXEAAAAAElFTkSuQmCC"},"class":"org.openqa.selenium.remote.Response","status":17}'

/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py:192: WebDriverException
------------------------------- pytest-selenium --------------------------------
URL: http://bedrock:8000/en-US/firefox/os/devices/#panasonic_cx700 WARNING: Failed to gather log types: Message: GET /session/c2b680b4-d9bc-4191-bca5-6d55b8997eb6/log/types did not match a known command Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:48:19 -0700' System info: host: 'a6a751426d04', ip: '172.17.0.4', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-24-generic', java.version: '1.8.0_111' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{rotatable=false, raisesAccessibilityExceptions=false, marionette=true, firefoxOptions={args=[], profile=UEsDBBQACAgIAG8Sj0kAAAAAAAAAAAAAAAAHAAAAdXNlci5qc51WTW/bMAy971cMOW3AKqTretlOXdcBA4Z1aFDsKMgSbauRJU0fcfPvR/mjSRNHbndKbJMS+fj4yOjBUeugfLconGnxiXhWQvdf6oo0TLXMAQHNCgVi8eFtyZSH91/exJ2nYAFtrHEhudTAVKj7Z4JGG8ln/DWE1rg1qUOwxNbS19uz9Nky788U6CrU6Pjx8vK52xiwAybwR0AAHkB8l86HK4yFK0C34OJhuKbBvB4pr51pgHrupA3URU2DbJLLxXL6osAKTxAOfauvlfEwnc1oLUyrlWEC79KsSsDWpv1Tg14hWgmpaXeLQdng02W0MYKpGexhE4xRnoBzxnGjvVH7cB+n72WljUbUGmgKcKvu0edz8eC9RKtgkAsOfETcSgyUcsd8nfdVUq+JsaApPAZwmqlUzFczqExlvYt6+rIWCuHkBp8Z54DljBoz90gHysEFP4nEU6Wkt4ptQdycL1e/DDInlfbTtDG+Erf6j9RYX3++JBIvMvd3P9FjwQoTw+dCMb1eHHOuT4gypeiDRzBSnLKH/ji2RysRbrQlbS0DKOkDHvA3SneKCYkGaxnI0E0j6zC5xIUsAIphYbAB8lTzibfRkhq7xuLZtAXFUwdFl0q6OEg5VVt3rCHRYoGBaIS23N6jyat1JNrUSjfZ8IBHJ8MWmaIA/xEfnOSBGicrqak1SvJtnqoaWmw7MuSTqeazQPuTSXq5ikUju1b53b286sj4Mt2cPCab8VN3DoVJRUHLE+q160NMs+34e9yIpizRDs6YtZ4g+0xLiy0VULKowrScjLBzbwf+TEd7zIcs20Y6I/dRqYLbkl4ZO/uPc7bZo0dEbu5/XpELwnZFOk7vgW1YPyGyonpYirFH8jw6jtvBQzfEspf0NE3H5/PcQ5zFYL71SrDiSIIkOufLUxran0o1C/hIYQN6RkH3JuMtMmw2nEIZvu407UWF8sAcrwfazE3dhvTkJiI2Nls0JPmLqPiMLwYBclJMC+qRBh2Kz8X05tOL9dnYfciiEGdG8mB7QlmGFWd+t9kbnL4b67vBiQoUO6nOIpeYNR3EXuuYftJ1K9APfd1vKSeXs2Fk0U6sBMKoK5rkf4YkNeC05DXw9bder772X14/zQgTQqaI2cwgmNyZ/3dXVqaq0sthictK/14vdRlfozRitxZSJfZpWdVBnRh2e67jjf+jbHRsBNLgWtgRcZFWSQcHGO02mbR5IrFxf5xZZXZ9r0ofbb8B7JaMf1BLBwh1hce1pQMAALUMAABQSwECFAAUAAgICABvEo9JdYXHtaUDAAC1DAAABwAAAAAAAAAAAAAAAAAAAAAAdXNlci5qc1BLBQYAAAAAAQABADUAAADaAwAAAAA=}, appBuildId=20161104212021, version=, platform=LINUX, tags=[bedrock], proxy={}, command_id=1, specificationLevel=0, acceptSslCerts=false, processId=949, browserVersion=50.0, platformVersion=3.13.0-24-generic, XULappId={ec8030f7-c20a-464f-9b0e-13a3a9e97384}, browserName=firefox, takesScreenshot=true, takesElementScreenshot=true, platformName=linux, firefox_profile=UEsDBBQAAAAIAG9Sj0mBD/yDnAMAA...}] Session ID: c2b680b4-d9bc-4191-bca5-6d55b8997eb6 Stacktrace: at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (NativeConstructorAccessorImpl.java:-2) at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance (Constructor.java:423) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException (W3CHttpResponseCodec.java:127) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode (W3CHttpResponseCodec.java:93) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode (W3CHttpResponseCodec.java:42) at org.openqa.selenium.remote.HttpCommandExecutor.execute (HttpCommandExecutor.java:163) at org.openqa.selenium.remote.service.DriverCommandExecutor.execute (DriverCommandExecutor.java:82) at org.openqa.selenium.remote.RemoteWebDriver.execute (RemoteWebDriver.java:601) at org.openqa.selenium.remote.RemoteWebDriver.execute (RemoteWebDriver.java:658) at org.openqa.selenium.remote.RemoteExecuteMethod.execute (RemoteExecuteMethod.java:33) at org.openqa.selenium.remote.RemoteLogs.getAvailableLogTypes (RemoteLogs.java:103) at org.openqa.selenium.remote.server.handler.GetAvailableLogTypesHandler.call (GetAvailableLogTypesHandler.java:37) at org.openqa.selenium.remote.server.handler.GetAvailableLogTypesHandler.call (GetAvailableLogTypesHandler.java:28) at java.util.concurrent.FutureTask.run (FutureTask.java:266) at org.openqa.selenium.remote.server.DefaultSession$1.run (DefaultSession.java:176) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617) at java.lang.Thread.run (Thread.java:745)
Failed tests/functional/firefox/os/test_devices.py::test_open_close_phone 2.46
base_url = 'http://bedrock:8000'
selenium = <selenium.webdriver.remote.webdriver.WebDriver (session="527aff90-c856-4b41-ad2e-d6ebcbc4f2fd")>

@pytest.mark.smoke
@pytest.mark.nondestructive
def test_open_close_phone(base_url, selenium):
page = DevicesPage(selenium, base_url).open()
> phone = page.open_phone_detail()

base_url = 'http://bedrock:8000'
page = <pages.firefox.os.devices.DevicesPage object at 0x7f7baf060850>
selenium = <selenium.webdriver.remote.webdriver.WebDriver (session="527aff90-c856-4b41-ad2e-d6ebcbc4f2fd")>

tests/functional/firefox/os/test_devices.py:25:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/pages/firefox/os/devices.py:43: in open_phone_detail
self.wait.until(lambda s: detail.is_close_displayed)
/usr/local/lib/python2.7/dist-packages/selenium/webdriver/support/wait.py:71: in until
value = method(self._driver)
tests/pages/firefox/os/devices.py:43: in <lambda>
self.wait.until(lambda s: detail.is_close_displayed)
tests/pages/firefox/os/devices.py:78: in is_close_displayed
return self.is_element_displayed(*self._close_button_locator)
/usr/local/lib/python2.7/dist-packages/pypom/view.py:80: in is_element_displayed
return self.find_element(strategy, locator).is_displayed()
/usr/local/lib/python2.7/dist-packages/pypom/view.py:31: in find_element
return root.find_element(strategy, locator)
/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webelement.py:511: in find_element
{"using": by, "value": value})['value']
/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webelement.py:494: in _execute
return self._parent.execute(command, params)
/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py:236: in execute
self.error_handler.check_response(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <selenium.webdriver.remote.errorhandler.ErrorHandler object at 0x7f7baf051d90>
response = {'status': 500, 'value': '{"state":"javascript error","sessionId":"527aff90-c856-4b41-ad2e-d6ebcbc4f2fd","hCode":85124...AAAAAAAAAAAAAAAAAAAAAAAA4CCVWoFKQ/u90wAAAABJRU5ErkJggg=="},"class":"org.openqa.selenium.remote.Response","status":17}'}

def check_response(self, response):
"""
Checks that a JSON response from the WebDriver does not have an error.

:Args:
- response - The JSON response from the WebDriver server as a dictionary
object.

:Raises: If the response contains an error message.
"""
status = response.get('status', None)
if status is None or status == ErrorCode.SUCCESS:
return

value = None
message = response.get("message", "")
screen = response.get("screen", "")
stacktrace = None
if isinstance(status, int):
value_json = response.get('value', None)
if value_json and isinstance(value_json, basestring):
import json
try:
value = json.loads(value_json)
status = value.get('error', None)
if status is None:
status = value["status"]
message = value["value"]
if not isinstance(message, basestring):
value = message
try:
message = message['message']
except TypeError:
message = None
else:
message = value.get('message', None)
except ValueError:
pass

exception_class = ErrorInResponseException
if status in ErrorCode.NO_SUCH_ELEMENT:
exception_class = NoSuchElementException
elif status in ErrorCode.NO_SUCH_FRAME:
exception_class = NoSuchFrameException
elif status in ErrorCode.NO_SUCH_WINDOW:
exception_class = NoSuchWindowException
elif status in ErrorCode.STALE_ELEMENT_REFERENCE:
exception_class = StaleElementReferenceException
elif status in ErrorCode.ELEMENT_NOT_VISIBLE:
exception_class = ElementNotVisibleException
elif status in ErrorCode.INVALID_ELEMENT_STATE:
exception_class = InvalidElementStateException
elif status in ErrorCode.INVALID_SELECTOR \
or status in ErrorCode.INVALID_XPATH_SELECTOR \
or status in ErrorCode.INVALID_XPATH_SELECTOR_RETURN_TYPER:
exception_class = InvalidSelectorException
elif status in ErrorCode.ELEMENT_IS_NOT_SELECTABLE:
exception_class = ElementNotSelectableException
elif status in ErrorCode.INVALID_COOKIE_DOMAIN:
exception_class = WebDriverException
elif status in ErrorCode.UNABLE_TO_SET_COOKIE:
exception_class = WebDriverException
elif status in ErrorCode.TIMEOUT:
exception_class = TimeoutException
elif status in ErrorCode.SCRIPT_TIMEOUT:
exception_class = TimeoutException
elif status in ErrorCode.UNKNOWN_ERROR:
exception_class = WebDriverException
elif status in ErrorCode.UNEXPECTED_ALERT_OPEN:
exception_class = UnexpectedAlertPresentException
elif status in ErrorCode.NO_ALERT_OPEN:
exception_class = NoAlertPresentException
elif status in ErrorCode.IME_NOT_AVAILABLE:
exception_class = ImeNotAvailableException
elif status in ErrorCode.IME_ENGINE_ACTIVATION_FAILED:
exception_class = ImeActivationFailedException
elif status in ErrorCode.MOVE_TARGET_OUT_OF_BOUNDS:
exception_class = MoveTargetOutOfBoundsException
else:
exception_class = WebDriverException
if value == '' or value is None:
value = response['value']
if isinstance(value, basestring):
if exception_class == ErrorInResponseException:
raise exception_class(response, value)
raise exception_class(value)
if message == "" and 'message' in value:
message = value['message']

screen = None
if 'screen' in value:
screen = value['screen']

stacktrace = None
if 'stackTrace' in value and value['stackTrace']:
stacktrace = []
try:
for frame in value['stackTrace']:
line = self._value_or_default(frame, 'lineNumber', '')
file = self._value_or_default(frame, 'fileName', '<anonymous>')
if line:
file = "%s:%s" % (file, line)
meth = self._value_or_default(frame, 'methodName', '<anonymous>')
if 'className' in frame:
meth = "%s.%s" % (frame['className'], meth)
msg = " at %s (%s)"
msg = msg % (meth, file)
stacktrace.append(msg)
except TypeError:
pass
if exception_class == ErrorInResponseException:
raise exception_class(response, message)
elif exception_class == UnexpectedAlertPresentException and 'alert' in value:
raise exception_class(message, screen, stacktrace, value['alert'].get('text'))
> raise exception_class(message, screen, stacktrace)
E WebDriverException: Message: Element reference not seen before: e0048620-17b8-48bb-9a35-d97b7af4fc78
E Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:48:19 -0700'
E System info: host: 'b2c98b96d195', ip: '172.17.0.8', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-24-generic', java.version: '1.8.0_111'
E Driver info: org.openqa.selenium.firefox.FirefoxDriver
E Capabilities [{rotatable=false, raisesAccessibilityExceptions=false, marionette=true, firefoxOptions={args=[], profile=UEsDBBQACAgIAG8Sj0kAAAAAAAAAAAAAAAAHAAAAdXNlci5qc51WTW/bMAy971cMOW3AKqTretlOXdcBA4Z1aFDsKMgSbauRJU0fcfPvR/mjSRNHbndKbJMS+fj4yOjBUeugfLconGnxiXhWQvdf6oo0TLXMAQHNCgVi8eFtyZSH91/exJ2nYAFtrHEhudTAVKj7Z4JGG8ln/DWE1rg1qUOwxNbS19uz9Nky788U6CrU6Pjx8vK52xiwAybwR0AAHkB8l86HK4yFK0C34OJhuKbBvB4pr51pgHrupA3URU2DbJLLxXL6osAKTxAOfauvlfEwnc1oLUyrlWEC79KsSsDWpv1Tg14hWgmpaXeLQdng02W0MYKpGexhE4xRnoBzxnGjvVH7cB+n72WljUbUGmgKcKvu0edz8eC9RKtgkAsOfETcSgyUcsd8nfdVUq+JsaApPAZwmqlUzFczqExlvYt6+rIWCuHkBp8Z54DljBoz90gHysEFP4nEU6Wkt4ptQdycL1e/DDInlfbTtDG+Erf6j9RYX3++JBIvMvd3P9FjwQoTw+dCMb1eHHOuT4gypeiDRzBSnLKH/ji2RysRbrQlbS0DKOkDHvA3SneKCYkGaxnI0E0j6zC5xIUsAIphYbAB8lTzibfRkhq7xuLZtAXFUwdFl0q6OEg5VVt3rCHRYoGBaIS23N6jyat1JNrUSjfZ8IBHJ8MWmaIA/xEfnOSBGicrqak1SvJtnqoaWmw7MuSTqeazQPuTSXq5ikUju1b53b286sj4Mt2cPCab8VN3DoVJRUHLE+q160NMs+34e9yIpizRDs6YtZ4g+0xLiy0VULKowrScjLBzbwf+TEd7zIcs20Y6I/dRqYLbkl4ZO/uPc7bZo0dEbu5/XpELwnZFOk7vgW1YPyGyonpYirFH8jw6jtvBQzfEspf0NE3H5/PcQ5zFYL71SrDiSIIkOufLUxran0o1C/hIYQN6RkH3JuMtMmw2nEIZvu407UWF8sAcrwfazE3dhvTkJiI2Nls0JPmLqPiMLwYBclJMC+qRBh2Kz8X05tOL9dnYfciiEGdG8mB7QlmGFWd+t9kbnL4b67vBiQoUO6nOIpeYNR3EXuuYftJ1K9APfd1vKSeXs2Fk0U6sBMKoK5rkf4YkNeC05DXw9bder772X14/zQgTQqaI2cwgmNyZ/3dXVqaq0sthictK/14vdRlfozRitxZSJfZpWdVBnRh2e67jjf+jbHRsBNLgWtgRcZFWSQcHGO02mbR5IrFxf5xZZXZ9r0ofbb8B7JaMf1BLBwh1hce1pQMAALUMAABQSwECFAAUAAgICABvEo9JdYXHtaUDAAC1DAAABwAAAAAAAAAAAAAAAAAAAAAAdXNlci5qc1BLBQYAAAAAAQABADUAAADaAwAAAAA=}, appBuildId=20161104212021, version=, platform=LINUX, tags=[bedrock], proxy={}, command_id=1, specificationLevel=0, acceptSslCerts=false, processId=1380, browserVersion=50.0, platformVersion=3.13.0-24-generic, XULappId={ec8030f7-c20a-464f-9b0e-13a3a9e97384}, browserName=firefox, takesScreenshot=true, takesElementScreenshot=true, platformName=linux, firefox_profile=UEsDBBQAAAAIAG9Sj0mBD/yDnAMAA...}]
E Session ID: fc596de7-6fb8-4f48-bac3-7415b5f32432
E *** Element info: {Using=css selector, value=.device-detail-close}
E Screenshot: available via screen
E Stacktrace:
E at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (NativeConstructorAccessorImpl.java:-2)
E at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:62)
E at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:45)
E at java.lang.reflect.Constructor.newInstance (Constructor.java:423)
E at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException (W3CHttpResponseCodec.java:127)
E at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode (W3CHttpResponseCodec.java:93)
E at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode (W3CHttpResponseCodec.java:42)
E at org.openqa.selenium.remote.HttpCommandExecutor.execute (HttpCommandExecutor.java:163)
E at org.openqa.selenium.remote.service.DriverCommandExecutor.execute (DriverCommandExecutor.java:82)
E at org.openqa.selenium.remote.RemoteWebDriver.execute (RemoteWebDriver.java:601)
E at org.openqa.selenium.remote.RemoteWebElement.execute (RemoteWebElement.java:274)
E at org.openqa.selenium.remote.RemoteWebElement.findElement (RemoteWebElement.java:177)
E at org.openqa.selenium.remote.RemoteWebElement.findElementByCssSelector (RemoteWebElement.java:242)
E at org.openqa.selenium.By$ByCssSelector.findElement (By.java:430)
E at org.openqa.selenium.remote.RemoteWebElement.findElement (RemoteWebElement.java:173)
E at sun.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethodAccessorImpl.java:-2)
E at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
E at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
E at java.lang.reflect.Method.invoke (Method.java:498)
E at org.openqa.selenium.support.events.EventFiringWebDriver$EventFiringWebElement$1.invoke (EventFiringWebDriver.java:331)
E at com.sun.proxy.$Proxy7.findElement (None:-1)
E at org.openqa.selenium.support.events.EventFiringWebDriver$EventFiringWebElement.findElement (EventFiringWebDriver.java:406)
E at sun.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethodAccessorImpl.java:-2)
E at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
E at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
E at java.lang.reflect.Method.invoke (Method.java:498)
E at org.openqa.selenium.remote.server.KnownElements$1.invoke (KnownElements.java:64)
E at com.sun.proxy.$Proxy8.findElement (None:-1)
E at org.openqa.selenium.remote.server.handler.FindChildElement.call (FindChildElement.java:44)
E at org.openqa.selenium.remote.server.handler.FindChildElement.call (FindChildElement.java:30)
E at java.util.concurrent.FutureTask.run (FutureTask.java:266)
E at org.openqa.selenium.remote.server.DefaultSession$1.run (DefaultSession.java:176)
E at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1142)
E at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617)
E at java.lang.Thread.run (Thread.java:745)

exception_class = <class 'selenium.common.exceptions.WebDriverException'>
file = 'Thread.java:745'
frame = {'class': 'java.lang.StackTraceElement', 'className': 'java.lang.Thread', 'fileName': 'Thread.java', 'hCode': -82946320, ...}
json = <module 'json' from '/usr/lib/python2.7/json/__init__.pyc'>
line = 745
message = "Element reference not seen before: e0048620-17b8-48bb-9a35-d97b7af4fc78
Build info: version: '3.0.1', revision: '1969...}]
Session ID: fc596de7-6fb8-4f48-bac3-7415b5f32432
*** Element info: {Using=css selector, value=.device-detail-close}"
meth = 'java.lang.Thread.run'
msg = ' at java.lang.Thread.run (Thread.java:745)'
response = {'status': 500, 'value': '{"state":"javascript error","sessionId":"527aff90-c856-4b41-ad2e-d6ebcbc4f2fd","hCode":85124...AAAAAAAAAAAAAAAAAAAAAAAA4CCVWoFKQ/u90wAAAABJRU5ErkJggg=="},"class":"org.openqa.selenium.remote.Response","status":17}'}
screen = 'iVBORw0KGgoAAAANSUhEUgAABVAAAAP8CAIAAAAvEgKwAABDt0lEQVR42uzdB5RUdZ7o8bfn7EtnnT3z9p0dd9++XR1n0XnP3Z3kqKwjJowgQURExYyoj...AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4CCVWoFKQ/u90wAAAABJRU5ErkJggg=='
self = <selenium.webdriver.remote.errorhandler.ErrorHandler object at 0x7f7baf051d90>
stacktrace = [' at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (NativeConstructorAccessorImpl.java:-2)', ' at sun....c.java:127)', ' at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode (W3CHttpResponseCodec.java:93)', ...]
status = 17
value = {'additionalInformation': '
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities [{rotatable=false, rai...internal.BuildInfo', 'hCode': 1486008588, ...}, 'cause': None, 'class': 'org.openqa.selenium.JavascriptException', ...}
value_json = '{"state":"javascript error","sessionId":"527aff90-c856-4b41-ad2e-d6ebcbc4f2fd","hCode":851246050,"value":{"additional...AAAAAAAAAAAAAAAAAAAAAAAAA4CCVWoFKQ/u90wAAAABJRU5ErkJggg=="},"class":"org.openqa.selenium.remote.Response","status":17}'

/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py:192: WebDriverException
------------------------------- pytest-selenium --------------------------------
URL: http://bedrock:8000/en-US/firefox/os/devices/#alcatel_onetouchfire WARNING: Failed to gather log types: Message: GET /session/fc596de7-6fb8-4f48-bac3-7415b5f32432/log/types did not match a known command Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:48:19 -0700' System info: host: 'b2c98b96d195', ip: '172.17.0.8', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-24-generic', java.version: '1.8.0_111' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{rotatable=false, raisesAccessibilityExceptions=false, marionette=true, firefoxOptions={args=[], profile=UEsDBBQACAgIAG8Sj0kAAAAAAAAAAAAAAAAHAAAAdXNlci5qc51WTW/bMAy971cMOW3AKqTretlOXdcBA4Z1aFDsKMgSbauRJU0fcfPvR/mjSRNHbndKbJMS+fj4yOjBUeugfLconGnxiXhWQvdf6oo0TLXMAQHNCgVi8eFtyZSH91/exJ2nYAFtrHEhudTAVKj7Z4JGG8ln/DWE1rg1qUOwxNbS19uz9Nky788U6CrU6Pjx8vK52xiwAybwR0AAHkB8l86HK4yFK0C34OJhuKbBvB4pr51pgHrupA3URU2DbJLLxXL6osAKTxAOfauvlfEwnc1oLUyrlWEC79KsSsDWpv1Tg14hWgmpaXeLQdng02W0MYKpGexhE4xRnoBzxnGjvVH7cB+n72WljUbUGmgKcKvu0edz8eC9RKtgkAsOfETcSgyUcsd8nfdVUq+JsaApPAZwmqlUzFczqExlvYt6+rIWCuHkBp8Z54DljBoz90gHysEFP4nEU6Wkt4ptQdycL1e/DDInlfbTtDG+Erf6j9RYX3++JBIvMvd3P9FjwQoTw+dCMb1eHHOuT4gypeiDRzBSnLKH/ji2RysRbrQlbS0DKOkDHvA3SneKCYkGaxnI0E0j6zC5xIUsAIphYbAB8lTzibfRkhq7xuLZtAXFUwdFl0q6OEg5VVt3rCHRYoGBaIS23N6jyat1JNrUSjfZ8IBHJ8MWmaIA/xEfnOSBGicrqak1SvJtnqoaWmw7MuSTqeazQPuTSXq5ikUju1b53b286sj4Mt2cPCab8VN3DoVJRUHLE+q160NMs+34e9yIpizRDs6YtZ4g+0xLiy0VULKowrScjLBzbwf+TEd7zIcs20Y6I/dRqYLbkl4ZO/uPc7bZo0dEbu5/XpELwnZFOk7vgW1YPyGyonpYirFH8jw6jtvBQzfEspf0NE3H5/PcQ5zFYL71SrDiSIIkOufLUxran0o1C/hIYQN6RkH3JuMtMmw2nEIZvu407UWF8sAcrwfazE3dhvTkJiI2Nls0JPmLqPiMLwYBclJMC+qRBh2Kz8X05tOL9dnYfciiEGdG8mB7QlmGFWd+t9kbnL4b67vBiQoUO6nOIpeYNR3EXuuYftJ1K9APfd1vKSeXs2Fk0U6sBMKoK5rkf4YkNeC05DXw9bder772X14/zQgTQqaI2cwgmNyZ/3dXVqaq0sthictK/14vdRlfozRitxZSJfZpWdVBnRh2e67jjf+jbHRsBNLgWtgRcZFWSQcHGO02mbR5IrFxf5xZZXZ9r0ofbb8B7JaMf1BLBwh1hce1pQMAALUMAABQSwECFAAUAAgICABvEo9JdYXHtaUDAAC1DAAABwAAAAAAAAAAAAAAAAAAAAAAdXNlci5qc1BLBQYAAAAAAQABADUAAADaAwAAAAA=}, appBuildId=20161104212021, version=, platform=LINUX, tags=[bedrock], proxy={}, command_id=1, specificationLevel=0, acceptSslCerts=false, processId=1380, browserVersion=50.0, platformVersion=3.13.0-24-generic, XULappId={ec8030f7-c20a-464f-9b0e-13a3a9e97384}, browserName=firefox, takesScreenshot=true, takesElementScreenshot=true, platformName=linux, firefox_profile=UEsDBBQAAAAIAG9Sj0mBD/yDnAMAA...}] Session ID: fc596de7-6fb8-4f48-bac3-7415b5f32432 Stacktrace: at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (NativeConstructorAccessorImpl.java:-2) at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance (Constructor.java:423) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException (W3CHttpResponseCodec.java:127) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode (W3CHttpResponseCodec.java:93) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode (W3CHttpResponseCodec.java:42) at org.openqa.selenium.remote.HttpCommandExecutor.execute (HttpCommandExecutor.java:163) at org.openqa.selenium.remote.service.DriverCommandExecutor.execute (DriverCommandExecutor.java:82) at org.openqa.selenium.remote.RemoteWebDriver.execute (RemoteWebDriver.java:601) at org.openqa.selenium.remote.RemoteWebDriver.execute (RemoteWebDriver.java:658) at org.openqa.selenium.remote.RemoteExecuteMethod.execute (RemoteExecuteMethod.java:33) at org.openqa.selenium.remote.RemoteLogs.getAvailableLogTypes (RemoteLogs.java:103) at org.openqa.selenium.remote.server.handler.GetAvailableLogTypesHandler.call (GetAvailableLogTypesHandler.java:37) at org.openqa.selenium.remote.server.handler.GetAvailableLogTypesHandler.call (GetAvailableLogTypesHandler.java:28) at java.util.concurrent.FutureTask.run (FutureTask.java:266) at org.openqa.selenium.remote.server.DefaultSession$1.run (DefaultSession.java:176) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617) at java.lang.Thread.run (Thread.java:745)
Failed tests/functional/firefox/os/test_devices.py::test_toggle_detail_tabs 1.76
base_url = 'http://bedrock:8000'
selenium = <selenium.webdriver.remote.webdriver.WebDriver (session="6d76d611-aa23-4c41-9cc5-3105881b39fa")>

@pytest.mark.smoke
@pytest.mark.nondestructive
def test_toggle_detail_tabs(base_url, selenium):
page = DevicesPage(selenium, base_url).open()
> phone = page.open_phone_detail()

base_url = 'http://bedrock:8000'
page = <pages.firefox.os.devices.DevicesPage object at 0x7fb19a673bd0>
selenium = <selenium.webdriver.remote.webdriver.WebDriver (session="6d76d611-aa23-4c41-9cc5-3105881b39fa")>

tests/functional/firefox/os/test_devices.py:51:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/pages/firefox/os/devices.py:43: in open_phone_detail
self.wait.until(lambda s: detail.is_close_displayed)
/usr/local/lib/python2.7/dist-packages/selenium/webdriver/support/wait.py:71: in until
value = method(self._driver)
tests/pages/firefox/os/devices.py:43: in <lambda>
self.wait.until(lambda s: detail.is_close_displayed)
tests/pages/firefox/os/devices.py:78: in is_close_displayed
return self.is_element_displayed(*self._close_button_locator)
/usr/local/lib/python2.7/dist-packages/pypom/view.py:80: in is_element_displayed
return self.find_element(strategy, locator).is_displayed()
/usr/local/lib/python2.7/dist-packages/pypom/view.py:31: in find_element
return root.find_element(strategy, locator)
/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webelement.py:511: in find_element
{"using": by, "value": value})['value']
/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webelement.py:494: in _execute
return self._parent.execute(command, params)
/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py:236: in execute
self.error_handler.check_response(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <selenium.webdriver.remote.errorhandler.ErrorHandler object at 0x7fb19a5fde50>
response = {'status': 500, 'value': '{"state":"javascript error","sessionId":"6d76d611-aa23-4c41-9cc5-3105881b39fa","hCode":10939...AAAAAAAAAAAAAAAAAAAAAAAAAAAHAY50AEbl8k6nAAAAAElFTkSuQmCC"},"class":"org.openqa.selenium.remote.Response","status":17}'}

def check_response(self, response):
"""
Checks that a JSON response from the WebDriver does not have an error.

:Args:
- response - The JSON response from the WebDriver server as a dictionary
object.

:Raises: If the response contains an error message.
"""
status = response.get('status', None)
if status is None or status == ErrorCode.SUCCESS:
return

value = None
message = response.get("message", "")
screen = response.get("screen", "")
stacktrace = None
if isinstance(status, int):
value_json = response.get('value', None)
if value_json and isinstance(value_json, basestring):
import json
try:
value = json.loads(value_json)
status = value.get('error', None)
if status is None:
status = value["status"]
message = value["value"]
if not isinstance(message, basestring):
value = message
try:
message = message['message']
except TypeError:
message = None
else:
message = value.get('message', None)
except ValueError:
pass

exception_class = ErrorInResponseException
if status in ErrorCode.NO_SUCH_ELEMENT:
exception_class = NoSuchElementException
elif status in ErrorCode.NO_SUCH_FRAME:
exception_class = NoSuchFrameException
elif status in ErrorCode.NO_SUCH_WINDOW:
exception_class = NoSuchWindowException
elif status in ErrorCode.STALE_ELEMENT_REFERENCE:
exception_class = StaleElementReferenceException
elif status in ErrorCode.ELEMENT_NOT_VISIBLE:
exception_class = ElementNotVisibleException
elif status in ErrorCode.INVALID_ELEMENT_STATE:
exception_class = InvalidElementStateException
elif status in ErrorCode.INVALID_SELECTOR \
or status in ErrorCode.INVALID_XPATH_SELECTOR \
or status in ErrorCode.INVALID_XPATH_SELECTOR_RETURN_TYPER:
exception_class = InvalidSelectorException
elif status in ErrorCode.ELEMENT_IS_NOT_SELECTABLE:
exception_class = ElementNotSelectableException
elif status in ErrorCode.INVALID_COOKIE_DOMAIN:
exception_class = WebDriverException
elif status in ErrorCode.UNABLE_TO_SET_COOKIE:
exception_class = WebDriverException
elif status in ErrorCode.TIMEOUT:
exception_class = TimeoutException
elif status in ErrorCode.SCRIPT_TIMEOUT:
exception_class = TimeoutException
elif status in ErrorCode.UNKNOWN_ERROR:
exception_class = WebDriverException
elif status in ErrorCode.UNEXPECTED_ALERT_OPEN:
exception_class = UnexpectedAlertPresentException
elif status in ErrorCode.NO_ALERT_OPEN:
exception_class = NoAlertPresentException
elif status in ErrorCode.IME_NOT_AVAILABLE:
exception_class = ImeNotAvailableException
elif status in ErrorCode.IME_ENGINE_ACTIVATION_FAILED:
exception_class = ImeActivationFailedException
elif status in ErrorCode.MOVE_TARGET_OUT_OF_BOUNDS:
exception_class = MoveTargetOutOfBoundsException
else:
exception_class = WebDriverException
if value == '' or value is None:
value = response['value']
if isinstance(value, basestring):
if exception_class == ErrorInResponseException:
raise exception_class(response, value)
raise exception_class(value)
if message == "" and 'message' in value:
message = value['message']

screen = None
if 'screen' in value:
screen = value['screen']

stacktrace = None
if 'stackTrace' in value and value['stackTrace']:
stacktrace = []
try:
for frame in value['stackTrace']:
line = self._value_or_default(frame, 'lineNumber', '')
file = self._value_or_default(frame, 'fileName', '<anonymous>')
if line:
file = "%s:%s" % (file, line)
meth = self._value_or_default(frame, 'methodName', '<anonymous>')
if 'className' in frame:
meth = "%s.%s" % (frame['className'], meth)
msg = " at %s (%s)"
msg = msg % (meth, file)
stacktrace.append(msg)
except TypeError:
pass
if exception_class == ErrorInResponseException:
raise exception_class(response, message)
elif exception_class == UnexpectedAlertPresentException and 'alert' in value:
raise exception_class(message, screen, stacktrace, value['alert'].get('text'))
> raise exception_class(message, screen, stacktrace)
E WebDriverException: Message: Element reference not seen before: 09914f2c-77da-4cdb-8ff4-f1c0d0d98fab
E Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:48:19 -0700'
E System info: host: 'e0b1f72865f3', ip: '172.17.0.7', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-24-generic', java.version: '1.8.0_111'
E Driver info: org.openqa.selenium.firefox.FirefoxDriver
E Capabilities [{rotatable=false, raisesAccessibilityExceptions=false, marionette=true, firefoxOptions={args=[], profile=UEsDBBQACAgIAHESj0kAAAAAAAAAAAAAAAAHAAAAdXNlci5qc51WTW/bMAy971cMOW3AKqTretlOXdcBA4Z1aFDsKMgSbauRJU0fcfPvR/mjSRNHbndKbJMS+fj4yOjBUeugfLconGnxiXhWQvdf6oo0TLXMAQHNCgVi8eFtyZSH91/exJ2nYAFtrHEhudTAVKj7Z4JGG8ln/DWE1rg1qUOwxNbS19uz9Nky788U6CrU6Pjx8vK52xiwAybwR0AAHkB8l86HK4yFK0C34OJhuKbBvB4pr51pgHrupA3URU2DbJLLxXL6osAKTxAOfauvlfEwnc1oLUyrlWEC79KsSsDWpv1Tg14hWgmpaXeLQdng02W0MYKpGexhE4xRnoBzxnGjvVH7cB+n72WljUbUGmgKcKvu0edz8eC9RKtgkAsOfETcSgyUcsd8nfdVUq+JsaApPAZwmqlUzFczqExlvYt6+rIWCuHkBp8Z54DljBoz90gHysEFP4nEU6Wkt4ptQdycL1e/DDInlfbTtDG+Erf6j9RYX3++JBIvMvd3P9FjwQoTw+dCMb1eHHOuT4gypeiDRzBSnLKH/ji2RysRbrQlbS0DKOkDHvA3SneKCYkGaxnI0E0j6zC5xIUsAIphYbAB8lTzibfRkhq7xuLZtAXFUwdFl0q6OEg5VVt3rCHRYoGBaIS23N6jyat1JNrUSjfZ8IBHJ8MWmaIA/xEfnOSBGicrqak1SvJtnqoaWmw7MuSTqeazQPuTSXq5ikUju1b53b286sj4Mt2cPCab8VN3DoVJRUHLE+q160NMs+34e9yIpizRDs6YtZ4g+0xLiy0VULKowrScjLBzbwf+TEd7zIcs20Y6I/dRqYLbkl4ZO/uPc7bZo0dEbu5/XpELwnZFOk7vgW1YPyGyonpYirFH8jw6jtvBQzfEspf0NE3H5/PcQ5zFYL71SrDiSIIkOufLUxran0o1C/hIYQN6RkH3JuMtMmw2nEIZvu407UWF8sAcrwfazE3dhvTkJiI2Nls0JPmLqPiMLwYBclJMC+qRBh2Kz8X05tOL9dnYfciiEGdG8mB7QlmGFWd+t9kbnL4b67vBiQoUO6nOIpeYNR3EXuuYftJ1K9APfd1vKSeXs2Fk0U6sBMKoK5rkf4YkNeC05DXw9bder772X14/zQgTQqaI2cwgmNyZ/3dXVqaq0sthictK/14vdRlfozRitxZSJfZpWdVBnRh2e67jjf+jbHRsBNLgWtgRcZFWSQcHGO02mbR5IrFxf5xZZXZ9r0ofbb8B7JaMf1BLBwh1hce1pQMAALUMAABQSwECFAAUAAgICABxEo9JdYXHtaUDAAC1DAAABwAAAAAAAAAAAAAAAAAAAAAAdXNlci5qc1BLBQYAAAAAAQABADUAAADaAwAAAAA=}, appBuildId=20161104212021, version=, platform=LINUX, tags=[bedrock], proxy={}, command_id=1, specificationLevel=0, acceptSslCerts=false, processId=1211, browserVersion=50.0, platformVersion=3.13.0-24-generic, XULappId={ec8030f7-c20a-464f-9b0e-13a3a9e97384}, browserName=firefox, takesScreenshot=true, takesElementScreenshot=true, platformName=linux, firefox_profile=UEsDBBQAAAAIAHFSj0mBD/yDnAMAA...}]
E Session ID: 6cbfb91c-e39b-443c-a090-1b38c072f9c7
E *** Element info: {Using=css selector, value=.device-detail-close}
E Screenshot: available via screen
E Stacktrace:
E at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (NativeConstructorAccessorImpl.java:-2)
E at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:62)
E at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:45)
E at java.lang.reflect.Constructor.newInstance (Constructor.java:423)
E at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException (W3CHttpResponseCodec.java:127)
E at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode (W3CHttpResponseCodec.java:93)
E at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode (W3CHttpResponseCodec.java:42)
E at org.openqa.selenium.remote.HttpCommandExecutor.execute (HttpCommandExecutor.java:163)
E at org.openqa.selenium.remote.service.DriverCommandExecutor.execute (DriverCommandExecutor.java:82)
E at org.openqa.selenium.remote.RemoteWebDriver.execute (RemoteWebDriver.java:601)
E at org.openqa.selenium.remote.RemoteWebElement.execute (RemoteWebElement.java:274)
E at org.openqa.selenium.remote.RemoteWebElement.findElement (RemoteWebElement.java:177)
E at org.openqa.selenium.remote.RemoteWebElement.findElementByCssSelector (RemoteWebElement.java:242)
E at org.openqa.selenium.By$ByCssSelector.findElement (By.java:430)
E at org.openqa.selenium.remote.RemoteWebElement.findElement (RemoteWebElement.java:173)
E at sun.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethodAccessorImpl.java:-2)
E at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
E at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
E at java.lang.reflect.Method.invoke (Method.java:498)
E at org.openqa.selenium.support.events.EventFiringWebDriver$EventFiringWebElement$1.invoke (EventFiringWebDriver.java:331)
E at com.sun.proxy.$Proxy7.findElement (None:-1)
E at org.openqa.selenium.support.events.EventFiringWebDriver$EventFiringWebElement.findElement (EventFiringWebDriver.java:406)
E at sun.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethodAccessorImpl.java:-2)
E at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
E at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
E at java.lang.reflect.Method.invoke (Method.java:498)
E at org.openqa.selenium.remote.server.KnownElements$1.invoke (KnownElements.java:64)
E at com.sun.proxy.$Proxy8.findElement (None:-1)
E at org.openqa.selenium.remote.server.handler.FindChildElement.call (FindChildElement.java:44)
E at org.openqa.selenium.remote.server.handler.FindChildElement.call (FindChildElement.java:30)
E at java.util.concurrent.FutureTask.run (FutureTask.java:266)
E at org.openqa.selenium.remote.server.DefaultSession$1.run (DefaultSession.java:176)
E at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1142)
E at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617)
E at java.lang.Thread.run (Thread.java:745)

exception_class = <class 'selenium.common.exceptions.WebDriverException'>
file = 'Thread.java:745'
frame = {'class': 'java.lang.StackTraceElement', 'className': 'java.lang.Thread', 'fileName': 'Thread.java', 'hCode': -82946320, ...}
json = <module 'json' from '/usr/lib/python2.7/json/__init__.pyc'>
line = 745
message = "Element reference not seen before: 09914f2c-77da-4cdb-8ff4-f1c0d0d98fab
Build info: version: '3.0.1', revision: '1969...}]
Session ID: 6cbfb91c-e39b-443c-a090-1b38c072f9c7
*** Element info: {Using=css selector, value=.device-detail-close}"
meth = 'java.lang.Thread.run'
msg = ' at java.lang.Thread.run (Thread.java:745)'
response = {'status': 500, 'value': '{"state":"javascript error","sessionId":"6d76d611-aa23-4c41-9cc5-3105881b39fa","hCode":10939...AAAAAAAAAAAAAAAAAAAAAAAAAAAHAY50AEbl8k6nAAAAAElFTkSuQmCC"},"class":"org.openqa.selenium.remote.Response","status":17}'}
screen = 'iVBORw0KGgoAAAANSUhEUgAABVAAAAP8CAIAAAAvEgKwAABEQ0lEQVR42uzdeZRU9Z3w4XfOmf9eM2fOnPPGmTPvTBwz6LxvZlwSIyCKiriCLCIiKu47c...AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAY50AEbl8k6nAAAAAElFTkSuQmCC'
self = <selenium.webdriver.remote.errorhandler.ErrorHandler object at 0x7fb19a5fde50>
stacktrace = [' at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (NativeConstructorAccessorImpl.java:-2)', ' at sun....c.java:127)', ' at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode (W3CHttpResponseCodec.java:93)', ...]
status = 17
value = {'additionalInformation': '
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities [{rotatable=false, rai...internal.BuildInfo', 'hCode': 1477380394, ...}, 'cause': None, 'class': 'org.openqa.selenium.JavascriptException', ...}
value_json = '{"state":"javascript error","sessionId":"6d76d611-aa23-4c41-9cc5-3105881b39fa","hCode":1093949712,"value":{"additiona...AAAAAAAAAAAAAAAAAAAAAAAAAAAAHAY50AEbl8k6nAAAAAElFTkSuQmCC"},"class":"org.openqa.selenium.remote.Response","status":17}'

/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py:192: WebDriverException
------------------------------- pytest-selenium --------------------------------
URL: http://bedrock:8000/en-US/firefox/os/devices/#alcatel_onetouchfire WARNING: Failed to gather log types: Message: GET /session/6cbfb91c-e39b-443c-a090-1b38c072f9c7/log/types did not match a known command Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:48:19 -0700' System info: host: 'e0b1f72865f3', ip: '172.17.0.7', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-24-generic', java.version: '1.8.0_111' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{rotatable=false, raisesAccessibilityExceptions=false, marionette=true, firefoxOptions={args=[], profile=UEsDBBQACAgIAHESj0kAAAAAAAAAAAAAAAAHAAAAdXNlci5qc51WTW/bMAy971cMOW3AKqTretlOXdcBA4Z1aFDsKMgSbauRJU0fcfPvR/mjSRNHbndKbJMS+fj4yOjBUeugfLconGnxiXhWQvdf6oo0TLXMAQHNCgVi8eFtyZSH91/exJ2nYAFtrHEhudTAVKj7Z4JGG8ln/DWE1rg1qUOwxNbS19uz9Nky788U6CrU6Pjx8vK52xiwAybwR0AAHkB8l86HK4yFK0C34OJhuKbBvB4pr51pgHrupA3URU2DbJLLxXL6osAKTxAOfauvlfEwnc1oLUyrlWEC79KsSsDWpv1Tg14hWgmpaXeLQdng02W0MYKpGexhE4xRnoBzxnGjvVH7cB+n72WljUbUGmgKcKvu0edz8eC9RKtgkAsOfETcSgyUcsd8nfdVUq+JsaApPAZwmqlUzFczqExlvYt6+rIWCuHkBp8Z54DljBoz90gHysEFP4nEU6Wkt4ptQdycL1e/DDInlfbTtDG+Erf6j9RYX3++JBIvMvd3P9FjwQoTw+dCMb1eHHOuT4gypeiDRzBSnLKH/ji2RysRbrQlbS0DKOkDHvA3SneKCYkGaxnI0E0j6zC5xIUsAIphYbAB8lTzibfRkhq7xuLZtAXFUwdFl0q6OEg5VVt3rCHRYoGBaIS23N6jyat1JNrUSjfZ8IBHJ8MWmaIA/xEfnOSBGicrqak1SvJtnqoaWmw7MuSTqeazQPuTSXq5ikUju1b53b286sj4Mt2cPCab8VN3DoVJRUHLE+q160NMs+34e9yIpizRDs6YtZ4g+0xLiy0VULKowrScjLBzbwf+TEd7zIcs20Y6I/dRqYLbkl4ZO/uPc7bZo0dEbu5/XpELwnZFOk7vgW1YPyGyonpYirFH8jw6jtvBQzfEspf0NE3H5/PcQ5zFYL71SrDiSIIkOufLUxran0o1C/hIYQN6RkH3JuMtMmw2nEIZvu407UWF8sAcrwfazE3dhvTkJiI2Nls0JPmLqPiMLwYBclJMC+qRBh2Kz8X05tOL9dnYfciiEGdG8mB7QlmGFWd+t9kbnL4b67vBiQoUO6nOIpeYNR3EXuuYftJ1K9APfd1vKSeXs2Fk0U6sBMKoK5rkf4YkNeC05DXw9bder772X14/zQgTQqaI2cwgmNyZ/3dXVqaq0sthictK/14vdRlfozRitxZSJfZpWdVBnRh2e67jjf+jbHRsBNLgWtgRcZFWSQcHGO02mbR5IrFxf5xZZXZ9r0ofbb8B7JaMf1BLBwh1hce1pQMAALUMAABQSwECFAAUAAgICABxEo9JdYXHtaUDAAC1DAAABwAAAAAAAAAAAAAAAAAAAAAAdXNlci5qc1BLBQYAAAAAAQABADUAAADaAwAAAAA=}, appBuildId=20161104212021, version=, platform=LINUX, tags=[bedrock], proxy={}, command_id=1, specificationLevel=0, acceptSslCerts=false, processId=1211, browserVersion=50.0, platformVersion=3.13.0-24-generic, XULappId={ec8030f7-c20a-464f-9b0e-13a3a9e97384}, browserName=firefox, takesScreenshot=true, takesElementScreenshot=true, platformName=linux, firefox_profile=UEsDBBQAAAAIAHFSj0mBD/yDnAMAA...}] Session ID: 6cbfb91c-e39b-443c-a090-1b38c072f9c7 Stacktrace: at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (NativeConstructorAccessorImpl.java:-2) at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance (Constructor.java:423) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException (W3CHttpResponseCodec.java:127) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode (W3CHttpResponseCodec.java:93) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode (W3CHttpResponseCodec.java:42) at org.openqa.selenium.remote.HttpCommandExecutor.execute (HttpCommandExecutor.java:163) at org.openqa.selenium.remote.service.DriverCommandExecutor.execute (DriverCommandExecutor.java:82) at org.openqa.selenium.remote.RemoteWebDriver.execute (RemoteWebDriver.java:601) at org.openqa.selenium.remote.RemoteWebDriver.execute (RemoteWebDriver.java:658) at org.openqa.selenium.remote.RemoteExecuteMethod.execute (RemoteExecuteMethod.java:33) at org.openqa.selenium.remote.RemoteLogs.getAvailableLogTypes (RemoteLogs.java:103) at org.openqa.selenium.remote.server.handler.GetAvailableLogTypesHandler.call (GetAvailableLogTypesHandler.java:37) at org.openqa.selenium.remote.server.handler.GetAvailableLogTypesHandler.call (GetAvailableLogTypesHandler.java:28) at java.util.concurrent.FutureTask.run (FutureTask.java:266) at org.openqa.selenium.remote.server.DefaultSession$1.run (DefaultSession.java:176) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617) at java.lang.Thread.run (Thread.java:745)
Failed tests/functional/newsletter/test_newsletter_embed.py::test_newsletter_default_values[HomePage-None] 11.37
page_class = <class 'pages.home.HomePage'>, url_kwargs = {}
base_url = 'http://bedrock:8000'
selenium = <selenium.webdriver.remote.webdriver.WebDriver (session="c729dabd-f5da-462c-92b2-c1f9db49ab43")>

@pytest.mark.nondestructive
@pytest.mark.parametrize(('page_class', 'url_kwargs'), [
pytest.mark.smoke((HomePage, None)),
(AboutPage, None),
pytest.mark.smoke((ContributePage, None)),
(TwitterTaskPage, None),
(MobileTaskPage, None),
(EncryptionTaskPage, None),
(JoyOfCodingTaskPage, None),
(DevToolsChallengerTaskPage, None),
(StumblerTaskPage, None),
(MissionPage, None),
(FirefoxAllPage, None),
pytest.mark.smoke((DesktopPage, None)),
(CustomizePage, None),
(FirefoxDesktopBasePage, {'slug': 'fast'}),
(FirefoxDesktopBasePage, {'slug': 'trust'}),
(FirefoxSyncPage, None),
(PluginCheckPage, None),
(SmartOnLandingPage, None),
pytest.mark.skip_if_not_firefox((SmartOnBasePage, {'slug': 'tracking'}),
reason='Newsletter is only shown to Firefox browsers.'),
pytest.mark.skip_if_not_firefox((SmartOnBasePage, {'slug': 'security'}),
reason='Newsletter is only shown to Firefox browsers.'),
pytest.mark.skip_if_not_firefox((SmartOnBasePage, {'slug': 'surveillance'}),
reason='Newsletter is only shown to Firefox browsers.')])
def test_newsletter_default_values(page_class, url_kwargs, base_url, selenium):
url_kwargs = url_kwargs or {}
page = page_class(selenium, base_url, **url_kwargs).open()
> page.newsletter.expand_form()

base_url = 'http://bedrock:8000'
page = <pages.home.HomePage object at 0x7fcdbdd8cd90>
page_class = <class 'pages.home.HomePage'>
selenium = <selenium.webdriver.remote.webdriver.WebDriver (session="c729dabd-f5da-462c-92b2-c1f9db49ab43")>
url_kwargs = {}

tests/functional/newsletter/test_newsletter_embed.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/pages/regions/newsletter.py:32: in expand_form
self._privacy_policy_checkbox_locator))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <selenium.webdriver.support.wait.WebDriverWait (session="c729dabd-f5da-462c-92b2-c1f9db49ab43")>
method = <selenium.webdriver.support.expected_conditions.visibility_of_element_located object at 0x7fcdbdd9acd0>
message = ''

def until(self, method, message=''):
"""Calls the method provided with the driver as an argument until the \
return value is not False."""
screen = None
stacktrace = None

end_time = time.time() + self._timeout
while True:
try:
value = method(self._driver)
if value:
return value
except self._ignored_exceptions as exc:
screen = getattr(exc, 'screen', None)
stacktrace = getattr(exc, 'stacktrace', None)
time.sleep(self._poll)
if time.time() > end_time:
break
> raise TimeoutException(message, screen, stacktrace)
E TimeoutException: Message:

end_time = 1481797196.516496
message = ''
method = <selenium.webdriver.support.expected_conditions.visibility_of_element_located object at 0x7fcdbdd9acd0>
screen = None
self = <selenium.webdriver.support.wait.WebDriverWait (session="c729dabd-f5da-462c-92b2-c1f9db49ab43")>
stacktrace = None
value = False

/usr/local/lib/python2.7/dist-packages/selenium/webdriver/support/wait.py:80: TimeoutException
------------------------------- pytest-selenium --------------------------------
URL: http://bedrock:8000/en-US/ WARNING: Failed to gather log types: Message: GET /session/f8f29b75-d175-445a-b296-0d445a46be74/log/types did not match a known command Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:48:19 -0700' System info: host: '75b13ba89bb1', ip: '172.17.0.6', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-24-generic', java.version: '1.8.0_111' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{rotatable=false, raisesAccessibilityExceptions=false, marionette=true, firefoxOptions={args=[], profile=UEsDBBQACAgIAHUSj0kAAAAAAAAAAAAAAAAHAAAAdXNlci5qc51WTW/bMAy971cMOW3AKqTretlOXdcBA4Z1aFDsKMgSbauRJU0fcfPvR/mjSRNHbndKbJMS+fj4yOjBUeugfLconGnxiXhWQvdf6oo0TLXMAQHNCgVi8eFtyZSH91/exJ2nYAFtrHEhudTAVKj7Z4JGG8ln/DWE1rg1qUOwxNbS19uz9Nky788U6CrU6Pjx8vK52xiwAybwR0AAHkB8l86HK4yFK0C34OJhuKbBvB4pr51pgHrupA3URU2DbJLLxXL6osAKTxAOfauvlfEwnc1oLUyrlWEC79KsSsDWpv1Tg14hWgmpaXeLQdng02W0MYKpGexhE4xRnoBzxnGjvVH7cB+n72WljUbUGmgKcKvu0edz8eC9RKtgkAsOfETcSgyUcsd8nfdVUq+JsaApPAZwmqlUzFczqExlvYt6+rIWCuHkBp8Z54DljBoz90gHysEFP4nEU6Wkt4ptQdycL1e/DDInlfbTtDG+Erf6j9RYX3++JBIvMvd3P9FjwQoTw+dCMb1eHHOuT4gypeiDRzBSnLKH/ji2RysRbrQlbS0DKOkDHvA3SneKCYkGaxnI0E0j6zC5xIUsAIphYbAB8lTzibfRkhq7xuLZtAXFUwdFl0q6OEg5VVt3rCHRYoGBaIS23N6jyat1JNrUSjfZ8IBHJ8MWmaIA/xEfnOSBGicrqak1SvJtnqoaWmw7MuSTqeazQPuTSXq5ikUju1b53b286sj4Mt2cPCab8VN3DoVJRUHLE+q160NMs+34e9yIpizRDs6YtZ4g+0xLiy0VULKowrScjLBzbwf+TEd7zIcs20Y6I/dRqYLbkl4ZO/uPc7bZo0dEbu5/XpELwnZFOk7vgW1YPyGyonpYirFH8jw6jtvBQzfEspf0NE3H5/PcQ5zFYL71SrDiSIIkOufLUxran0o1C/hIYQN6RkH3JuMtMmw2nEIZvu407UWF8sAcrwfazE3dhvTkJiI2Nls0JPmLqPiMLwYBclJMC+qRBh2Kz8X05tOL9dnYfciiEGdG8mB7QlmGFWd+t9kbnL4b67vBiQoUO6nOIpeYNR3EXuuYftJ1K9APfd1vKSeXs2Fk0U6sBMKoK5rkf4YkNeC05DXw9bder772X14/zQgTQqaI2cwgmNyZ/3dXVqaq0sthictK/14vdRlfozRitxZSJfZpWdVBnRh2e67jjf+jbHRsBNLgWtgRcZFWSQcHGO02mbR5IrFxf5xZZXZ9r0ofbb8B7JaMf1BLBwh1hce1pQMAALUMAABQSwECFAAUAAgICAB1Eo9JdYXHtaUDAAC1DAAABwAAAAAAAAAAAAAAAAAAAAAAdXNlci5qc1BLBQYAAAAAAQABADUAAADaAwAAAAA=}, appBuildId=20161104212021, version=, platform=LINUX, tags=[bedrock], proxy={}, command_id=1, specificationLevel=0, acceptSslCerts=false, processId=1380, browserVersion=50.0, platformVersion=3.13.0-24-generic, XULappId={ec8030f7-c20a-464f-9b0e-13a3a9e97384}, browserName=firefox, takesScreenshot=true, takesElementScreenshot=true, platformName=linux, firefox_profile=UEsDBBQAAAAIAHVSj0mBD/yDnAMAA...}] Session ID: f8f29b75-d175-445a-b296-0d445a46be74 Stacktrace: at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (NativeConstructorAccessorImpl.java:-2) at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance (Constructor.java:423) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException (W3CHttpResponseCodec.java:127) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode (W3CHttpResponseCodec.java:93) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode (W3CHttpResponseCodec.java:42) at org.openqa.selenium.remote.HttpCommandExecutor.execute (HttpCommandExecutor.java:163) at org.openqa.selenium.remote.service.DriverCommandExecutor.execute (DriverCommandExecutor.java:82) at org.openqa.selenium.remote.RemoteWebDriver.execute (RemoteWebDriver.java:601) at org.openqa.selenium.remote.RemoteWebDriver.execute (RemoteWebDriver.java:658) at org.openqa.selenium.remote.RemoteExecuteMethod.execute (RemoteExecuteMethod.java:33) at org.openqa.selenium.remote.RemoteLogs.getAvailableLogTypes (RemoteLogs.java:103) at org.openqa.selenium.remote.server.handler.GetAvailableLogTypesHandler.call (GetAvailableLogTypesHandler.java:37) at org.openqa.selenium.remote.server.handler.GetAvailableLogTypesHandler.call (GetAvailableLogTypesHandler.java:28) at java.util.concurrent.FutureTask.run (FutureTask.java:266) at org.openqa.selenium.remote.server.DefaultSession$1.run (DefaultSession.java:176) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617) at java.lang.Thread.run (Thread.java:745)
Failed tests/functional/newsletter/test_newsletter_embed.py::test_newsletter_default_values[ContributePage-None] 13.65
page_class = <class 'pages.contribute.contribute.ContributePage'>
url_kwargs = {}, base_url = 'http://bedrock:8000'
selenium = <selenium.webdriver.remote.webdriver.WebDriver (session="8e42ba5a-37fd-4a35-9be7-881d32b03840")>

@pytest.mark.nondestructive
@pytest.mark.parametrize(('page_class', 'url_kwargs'), [
pytest.mark.smoke((HomePage, None)),
(AboutPage, None),
pytest.mark.smoke((ContributePage, None)),
(TwitterTaskPage, None),
(MobileTaskPage, None),
(EncryptionTaskPage, None),
(JoyOfCodingTaskPage, None),
(DevToolsChallengerTaskPage, None),
(StumblerTaskPage, None),
(MissionPage, None),
(FirefoxAllPage, None),
pytest.mark.smoke((DesktopPage, None)),
(CustomizePage, None),
(FirefoxDesktopBasePage, {'slug': 'fast'}),
(FirefoxDesktopBasePage, {'slug': 'trust'}),
(FirefoxSyncPage, None),
(PluginCheckPage, None),
(SmartOnLandingPage, None),
pytest.mark.skip_if_not_firefox((SmartOnBasePage, {'slug': 'tracking'}),
reason='Newsletter is only shown to Firefox browsers.'),
pytest.mark.skip_if_not_firefox((SmartOnBasePage, {'slug': 'security'}),
reason='Newsletter is only shown to Firefox browsers.'),
pytest.mark.skip_if_not_firefox((SmartOnBasePage, {'slug': 'surveillance'}),
reason='Newsletter is only shown to Firefox browsers.')])
def test_newsletter_default_values(page_class, url_kwargs, base_url, selenium):
url_kwargs = url_kwargs or {}
page = page_class(selenium, base_url, **url_kwargs).open()
> page.newsletter.expand_form()

base_url = 'http://bedrock:8000'
page = <pages.contribute.contribute.ContributePage object at 0x7fb19a359e10>
page_class = <class 'pages.contribute.contribute.ContributePage'>
selenium = <selenium.webdriver.remote.webdriver.WebDriver (session="8e42ba5a-37fd-4a35-9be7-881d32b03840")>
url_kwargs = {}

tests/functional/newsletter/test_newsletter_embed.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/pages/regions/newsletter.py:32: in expand_form
self._privacy_policy_checkbox_locator))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <selenium.webdriver.support.wait.WebDriverWait (session="8e42ba5a-37fd-4a35-9be7-881d32b03840")>
method = <selenium.webdriver.support.expected_conditions.visibility_of_element_located object at 0x7fb19a338e90>
message = ''

def until(self, method, message=''):
"""Calls the method provided with the driver as an argument until the \
return value is not False."""
screen = None
stacktrace = None

end_time = time.time() + self._timeout
while True:
try:
value = method(self._driver)
if value:
return value
except self._ignored_exceptions as exc:
screen = getattr(exc, 'screen', None)
stacktrace = getattr(exc, 'stacktrace', None)
time.sleep(self._poll)
if time.time() > end_time:
break
> raise TimeoutException(message, screen, stacktrace)
E TimeoutException: Message:

end_time = 1481797199.863989
message = ''
method = <selenium.webdriver.support.expected_conditions.visibility_of_element_located object at 0x7fb19a338e90>
screen = None
self = <selenium.webdriver.support.wait.WebDriverWait (session="8e42ba5a-37fd-4a35-9be7-881d32b03840")>
stacktrace = None
value = False

/usr/local/lib/python2.7/dist-packages/selenium/webdriver/support/wait.py:80: TimeoutException
------------------------------- pytest-selenium --------------------------------
URL: http://bedrock:8000/en-US/contribute/ WARNING: Failed to gather log types: Message: GET /session/6f477c6a-71f6-401a-a434-63e52f4058c7/log/types did not match a known command Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:48:19 -0700' System info: host: 'e0b1f72865f3', ip: '172.17.0.7', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-24-generic', java.version: '1.8.0_111' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{rotatable=false, raisesAccessibilityExceptions=false, marionette=true, firefoxOptions={args=[], profile=UEsDBBQACAgIAHUSj0kAAAAAAAAAAAAAAAAHAAAAdXNlci5qc51WTW/bMAy971cMOW3AKqTretlOXdcBA4Z1aFDsKMgSbauRJU0fcfPvR/mjSRNHbndKbJMS+fj4yOjBUeugfLconGnxiXhWQvdf6oo0TLXMAQHNCgVi8eFtyZSH91/exJ2nYAFtrHEhudTAVKj7Z4JGG8ln/DWE1rg1qUOwxNbS19uz9Nky788U6CrU6Pjx8vK52xiwAybwR0AAHkB8l86HK4yFK0C34OJhuKbBvB4pr51pgHrupA3URU2DbJLLxXL6osAKTxAOfauvlfEwnc1oLUyrlWEC79KsSsDWpv1Tg14hWgmpaXeLQdng02W0MYKpGexhE4xRnoBzxnGjvVH7cB+n72WljUbUGmgKcKvu0edz8eC9RKtgkAsOfETcSgyUcsd8nfdVUq+JsaApPAZwmqlUzFczqExlvYt6+rIWCuHkBp8Z54DljBoz90gHysEFP4nEU6Wkt4ptQdycL1e/DDInlfbTtDG+Erf6j9RYX3++JBIvMvd3P9FjwQoTw+dCMb1eHHOuT4gypeiDRzBSnLKH/ji2RysRbrQlbS0DKOkDHvA3SneKCYkGaxnI0E0j6zC5xIUsAIphYbAB8lTzibfRkhq7xuLZtAXFUwdFl0q6OEg5VVt3rCHRYoGBaIS23N6jyat1JNrUSjfZ8IBHJ8MWmaIA/xEfnOSBGicrqak1SvJtnqoaWmw7MuSTqeazQPuTSXq5ikUju1b53b286sj4Mt2cPCab8VN3DoVJRUHLE+q160NMs+34e9yIpizRDs6YtZ4g+0xLiy0VULKowrScjLBzbwf+TEd7zIcs20Y6I/dRqYLbkl4ZO/uPc7bZo0dEbu5/XpELwnZFOk7vgW1YPyGyonpYirFH8jw6jtvBQzfEspf0NE3H5/PcQ5zFYL71SrDiSIIkOufLUxran0o1C/hIYQN6RkH3JuMtMmw2nEIZvu407UWF8sAcrwfazE3dhvTkJiI2Nls0JPmLqPiMLwYBclJMC+qRBh2Kz8X05tOL9dnYfciiEGdG8mB7QlmGFWd+t9kbnL4b67vBiQoUO6nOIpeYNR3EXuuYftJ1K9APfd1vKSeXs2Fk0U6sBMKoK5rkf4YkNeC05DXw9bder772X14/zQgTQqaI2cwgmNyZ/3dXVqaq0sthictK/14vdRlfozRitxZSJfZpWdVBnRh2e67jjf+jbHRsBNLgWtgRcZFWSQcHGO02mbR5IrFxf5xZZXZ9r0ofbb8B7JaMf1BLBwh1hce1pQMAALUMAABQSwECFAAUAAgICAB1Eo9JdYXHtaUDAAC1DAAABwAAAAAAAAAAAAAAAAAAAAAAdXNlci5qc1BLBQYAAAAAAQABADUAAADaAwAAAAA=}, appBuildId=20161104212021, version=, platform=LINUX, tags=[bedrock], proxy={}, command_id=1, specificationLevel=0, acceptSslCerts=false, processId=1488, browserVersion=50.0, platformVersion=3.13.0-24-generic, XULappId={ec8030f7-c20a-464f-9b0e-13a3a9e97384}, browserName=firefox, takesScreenshot=true, takesElementScreenshot=true, platformName=linux, firefox_profile=UEsDBBQAAAAIAHVSj0mBD/yDnAMAA...}] Session ID: 6f477c6a-71f6-401a-a434-63e52f4058c7 Stacktrace: at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (NativeConstructorAccessorImpl.java:-2) at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance (Constructor.java:423) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException (W3CHttpResponseCodec.java:127) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode (W3CHttpResponseCodec.java:93) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode (W3CHttpResponseCodec.java:42) at org.openqa.selenium.remote.HttpCommandExecutor.execute (HttpCommandExecutor.java:163) at org.openqa.selenium.remote.service.DriverCommandExecutor.execute (DriverCommandExecutor.java:82) at org.openqa.selenium.remote.RemoteWebDriver.execute (RemoteWebDriver.java:601) at org.openqa.selenium.remote.RemoteWebDriver.execute (RemoteWebDriver.java:658) at org.openqa.selenium.remote.RemoteExecuteMethod.execute (RemoteExecuteMethod.java:33) at org.openqa.selenium.remote.RemoteLogs.getAvailableLogTypes (RemoteLogs.java:103) at org.openqa.selenium.remote.server.handler.GetAvailableLogTypesHandler.call (GetAvailableLogTypesHandler.java:37) at org.openqa.selenium.remote.server.handler.GetAvailableLogTypesHandler.call (GetAvailableLogTypesHandler.java:28) at java.util.concurrent.FutureTask.run (FutureTask.java:266) at org.openqa.selenium.remote.server.DefaultSession$1.run (DefaultSession.java:176) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617) at java.lang.Thread.run (Thread.java:745)
Failed tests/functional/newsletter/test_newsletter_embed.py::test_newsletter_default_values[DesktopPage-None] 11.16
page_class = <class 'pages.firefox.desktop.desktop.DesktopPage'>
url_kwargs = {}, base_url = 'http://bedrock:8000'
selenium = <selenium.webdriver.remote.webdriver.WebDriver (session="a033da2a-1d95-4a19-8385-83315d97199c")>

@pytest.mark.nondestructive
@pytest.mark.parametrize(('page_class', 'url_kwargs'), [
pytest.mark.smoke((HomePage, None)),
(AboutPage, None),
pytest.mark.smoke((ContributePage, None)),
(TwitterTaskPage, None),
(MobileTaskPage, None),
(EncryptionTaskPage, None),
(JoyOfCodingTaskPage, None),
(DevToolsChallengerTaskPage, None),
(StumblerTaskPage, None),
(MissionPage, None),
(FirefoxAllPage, None),
pytest.mark.smoke((DesktopPage, None)),
(CustomizePage, None),
(FirefoxDesktopBasePage, {'slug': 'fast'}),
(FirefoxDesktopBasePage, {'slug': 'trust'}),
(FirefoxSyncPage, None),
(PluginCheckPage, None),
(SmartOnLandingPage, None),
pytest.mark.skip_if_not_firefox((SmartOnBasePage, {'slug': 'tracking'}),
reason='Newsletter is only shown to Firefox browsers.'),
pytest.mark.skip_if_not_firefox((SmartOnBasePage, {'slug': 'security'}),
reason='Newsletter is only shown to Firefox browsers.'),
pytest.mark.skip_if_not_firefox((SmartOnBasePage, {'slug': 'surveillance'}),
reason='Newsletter is only shown to Firefox browsers.')])
def test_newsletter_default_values(page_class, url_kwargs, base_url, selenium):
url_kwargs = url_kwargs or {}
page = page_class(selenium, base_url, **url_kwargs).open()
> page.newsletter.expand_form()

base_url = 'http://bedrock:8000'
page = <pages.firefox.desktop.desktop.DesktopPage object at 0x7f14599986d0>
page_class = <class 'pages.firefox.desktop.desktop.DesktopPage'>
selenium = <selenium.webdriver.remote.webdriver.WebDriver (session="a033da2a-1d95-4a19-8385-83315d97199c")>
url_kwargs = {}

tests/functional/newsletter/test_newsletter_embed.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/pages/regions/newsletter.py:32: in expand_form
self._privacy_policy_checkbox_locator))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <selenium.webdriver.support.wait.WebDriverWait (session="a033da2a-1d95-4a19-8385-83315d97199c")>
method = <selenium.webdriver.support.expected_conditions.visibility_of_element_located object at 0x7f1459997e50>
message = ''

def until(self, method, message=''):
"""Calls the method provided with the driver as an argument until the \
return value is not False."""
screen = None
stacktrace = None

end_time = time.time() + self._timeout
while True:
try:
value = method(self._driver)
if value:
return value
except self._ignored_exceptions as exc:
screen = getattr(exc, 'screen', None)
stacktrace = getattr(exc, 'stacktrace', None)
time.sleep(self._poll)
if time.time() > end_time:
break
> raise TimeoutException(message, screen, stacktrace)
E TimeoutException: Message:
E Screenshot: available via screen
E Stacktrace:
E at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (NativeConstructorAccessorImpl.java:-2)
E at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:62)
E at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:45)
E at java.lang.reflect.Constructor.newInstance (Constructor.java:423)
E at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException (W3CHttpResponseCodec.java:127)
E at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode (W3CHttpResponseCodec.java:93)
E at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode (W3CHttpResponseCodec.java:42)
E at org.openqa.selenium.remote.HttpCommandExecutor.execute (HttpCommandExecutor.java:163)
E at org.openqa.selenium.remote.service.DriverCommandExecutor.execute (DriverCommandExecutor.java:82)
E at org.openqa.selenium.remote.RemoteWebDriver.execute (RemoteWebDriver.java:601)
E at org.openqa.selenium.remote.RemoteWebDriver.findElement (RemoteWebDriver.java:368)
E at org.openqa.selenium.remote.RemoteWebDriver.findElementById (RemoteWebDriver.java:417)
E at org.openqa.selenium.By$ById.findElement (By.java:218)
E at org.openqa.selenium.remote.RemoteWebDriver.findElement (RemoteWebDriver.java:360)
E at sun.reflect.GeneratedMethodAccessor19.invoke (None:-1)
E at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
E at java.lang.reflect.Method.invoke (Method.java:498)
E at org.openqa.selenium.support.events.EventFiringWebDriver$2.invoke (EventFiringWebDriver.java:103)
E at com.sun.proxy.$Proxy6.findElement (None:-1)
E at org.openqa.selenium.support.events.EventFiringWebDriver.findElement (EventFiringWebDriver.java:187)
E at org.openqa.selenium.remote.server.handler.FindElement.call (FindElement.java:48)
E at org.openqa.selenium.remote.server.handler.FindElement.call (FindElement.java:33)
E at java.util.concurrent.FutureTask.run (FutureTask.java:266)
E at org.openqa.selenium.remote.server.DefaultSession$1.run (DefaultSession.java:176)
E at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1142)
E at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617)
E at java.lang.Thread.run (Thread.java:745)

end_time = 1481797201.968908
exc = NoSuchElementException()
message = ''
method = <selenium.webdriver.support.expected_conditions.visibility_of_element_located object at 0x7f1459997e50>
screen = 'iVBORw0KGgoAAAANSUhEUgAABVAAAAP8CAIAAAAvEgKwAACAAElEQVR42uzdd3BUZ4Lv/btV+987s7W1Ve94t/buztzZxbP3nV3CmLGRZJOjweSco0kGY...AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD4X/Mvd6GuwVgFpRIAAAAASUVORK5CYII='
self = <selenium.webdriver.support.wait.WebDriverWait (session="a033da2a-1d95-4a19-8385-83315d97199c")>
stacktrace = [' at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (NativeConstructorAccessorImpl.java:-2)', ' at sun....c.java:127)', ' at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode (W3CHttpResponseCodec.java:93)', ...]
value = False

/usr/local/lib/python2.7/dist-packages/selenium/webdriver/support/wait.py:80: TimeoutException
------------------------------- pytest-selenium --------------------------------
URL: http://bedrock:8000/en-US/firefox/desktop/ WARNING: Failed to gather log types: Message: GET /session/e01efee9-9b36-4b5e-b8e2-eaae450003ca/log/types did not match a known command Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:48:19 -0700' System info: host: 'a6a751426d04', ip: '172.17.0.4', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-24-generic', java.version: '1.8.0_111' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{rotatable=false, raisesAccessibilityExceptions=false, marionette=true, firefoxOptions={args=[], profile=UEsDBBQACAgIAHgSj0kAAAAAAAAAAAAAAAAHAAAAdXNlci5qc51WTW/bMAy971cMOW3AKqTretlOXdcBA4Z1aFDsKMgSbauRJU0fcfPvR/mjSRNHbndKbJMS+fj4yOjBUeugfLconGnxiXhWQvdf6oo0TLXMAQHNCgVi8eFtyZSH91/exJ2nYAFtrHEhudTAVKj7Z4JGG8ln/DWE1rg1qUOwxNbS19uz9Nky788U6CrU6Pjx8vK52xiwAybwR0AAHkB8l86HK4yFK0C34OJhuKbBvB4pr51pgHrupA3URU2DbJLLxXL6osAKTxAOfauvlfEwnc1oLUyrlWEC79KsSsDWpv1Tg14hWgmpaXeLQdng02W0MYKpGexhE4xRnoBzxnGjvVH7cB+n72WljUbUGmgKcKvu0edz8eC9RKtgkAsOfETcSgyUcsd8nfdVUq+JsaApPAZwmqlUzFczqExlvYt6+rIWCuHkBp8Z54DljBoz90gHysEFP4nEU6Wkt4ptQdycL1e/DDInlfbTtDG+Erf6j9RYX3++JBIvMvd3P9FjwQoTw+dCMb1eHHOuT4gypeiDRzBSnLKH/ji2RysRbrQlbS0DKOkDHvA3SneKCYkGaxnI0E0j6zC5xIUsAIphYbAB8lTzibfRkhq7xuLZtAXFUwdFl0q6OEg5VVt3rCHRYoGBaIS23N6jyat1JNrUSjfZ8IBHJ8MWmaIA/xEfnOSBGicrqak1SvJtnqoaWmw7MuSTqeazQPuTSXq5ikUju1b53b286sj4Mt2cPCab8VN3DoVJRUHLE+q160NMs+34e9yIpizRDs6YtZ4g+0xLiy0VULKowrScjLBzbwf+TEd7zIcs20Y6I/dRqYLbkl4ZO/uPc7bZo0dEbu5/XpELwnZFOk7vgW1YPyGyonpYirFH8jw6jtvBQzfEspf0NE3H5/PcQ5zFYL71SrDiSIIkOufLUxran0o1C/hIYQN6RkH3JuMtMmw2nEIZvu407UWF8sAcrwfazE3dhvTkJiI2Nls0JPmLqPiMLwYBclJMC+qRBh2Kz8X05tOL9dnYfciiEGdG8mB7QlmGFWd+t9kbnL4b67vBiQoUO6nOIpeYNR3EXuuYftJ1K9APfd1vKSeXs2Fk0U6sBMKoK5rkf4YkNeC05DXw9bder772X14/zQgTQqaI2cwgmNyZ/3dXVqaq0sthictK/14vdRlfozRitxZSJfZpWdVBnRh2e67jjf+jbHRsBNLgWtgRcZFWSQcHGO02mbR5IrFxf5xZZXZ9r0ofbb8B7JaMf1BLBwh1hce1pQMAALUMAABQSwECFAAUAAgICAB4Eo9JdYXHtaUDAAC1DAAABwAAAAAAAAAAAAAAAAAAAAAAdXNlci5qc1BLBQYAAAAAAQABADUAAADaAwAAAAA=}, appBuildId=20161104212021, version=, platform=LINUX, tags=[bedrock], proxy={}, command_id=1, specificationLevel=0, acceptSslCerts=false, processId=1379, browserVersion=50.0, platformVersion=3.13.0-24-generic, XULappId={ec8030f7-c20a-464f-9b0e-13a3a9e97384}, browserName=firefox, takesScreenshot=true, takesElementScreenshot=true, platformName=linux, firefox_profile=UEsDBBQAAAAIAHhSj0mBD/yDnAMAA...}] Session ID: e01efee9-9b36-4b5e-b8e2-eaae450003ca Stacktrace: at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (NativeConstructorAccessorImpl.java:-2) at sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance (Constructor.java:423) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException (W3CHttpResponseCodec.java:127) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode (W3CHttpResponseCodec.java:93) at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode (W3CHttpResponseCodec.java:42) at org.openqa.selenium.remote.HttpCommandExecutor.execute (HttpCommandExecutor.java:163) at org.openqa.selenium.remote.service.DriverCommandExecutor.execute (DriverCommandExecutor.java:82) at org.openqa.selenium.remote.RemoteWebDriver.execute (RemoteWebDriver.java:601) at org.openqa.selenium.remote.RemoteWebDriver.execute (RemoteWebDriver.java:658) at org.openqa.selenium.remote.RemoteExecuteMethod.execute (RemoteExecuteMethod.java:33) at org.openqa.selenium.remote.RemoteLogs.getAvailableLogTypes (RemoteLogs.java:103) at org.openqa.selenium.remote.server.handler.GetAvailableLogTypesHandler.call (GetAvailableLogTypesHandler.java:37) at org.openqa.selenium.remote.server.handler.GetAvailableLogTypesHandler.call (GetAvailableLogTypesHandler.java:28) at java.util.concurrent.FutureTask.run (FutureTask.java:266) at org.openqa.selenium.remote.server.DefaultSession$1.run (DefaultSession.java:176) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617) at java.lang.Thread.run (Thread.java:745)
Skipped tests/functional/test_styleguide.py::test_open_close_navigation::setup 0.00
('tests/functional/test_styleguide.py', 9, u'Skipped: https://webqa-ci.mozilla.com/job/bedrock.dev.win10.ie/102/')
Skipped tests/functional/firefox/test_developer.py::test_play_video::setup 0.00
('tests/functional/firefox/test_developer.py', 18, u'Skipped: https://bugzilla.mozilla.org/show_bug.cgi?id=1219251')
Skipped tests/functional/firefox/test_android.py::test_open_close_accordion::setup 0.00
('tests/functional/firefox/test_android.py', 33, u'Skipped: https://webqa-ci.mozilla.com/job/bedrock.dev.win10.ie/120/')
Skipped tests/functional/firefox/desktop/test_all.py::test_download_button_is_displayed[]::setup 2.62
('/app/tests/functional/conftest.py', 48, u'Skipped: Download button is not shown for up-to-date Firefox browsers.')
Skipped tests/functional/firefox/desktop/test_desktop.py::test_primary_download_button_displayed::setup 2.76
('/app/tests/functional/conftest.py', 48, u'Skipped: Download button is not shown for up-to-date Firefox browsers.')
Skipped tests/functional/smarton/test_all.py::test_download_button_displayed[tracking]::setup 2.68
('/app/tests/functional/conftest.py', 48, u'Skipped: Download button is not shown to Firefox browsers.')
Passed tests/functional/test_history.py::test_list_displayed 1.07
No log output captured.
Passed tests/functional/test_history.py::test_slideshow_displayed 1.45
No log output captured.
Passed tests/functional/test_home.py::test_get_firefox_link_is_displayed 2.02
No log output captured.
Passed tests/functional/test_about.py::test_play_video 2.57
No log output captured.
Passed tests/functional/test_not_found.py::test_is_download_button_displayed 1.77
No log output captured.
Passed tests/functional/test_leadership.py::test_open_corporation_biography 6.22
No log output captured.
Passed tests/functional/contribute/test_tasks.py::test_contribute_task_twitter 1.52
No log output captured.
Passed tests/functional/test_mission.py::test_play_video 1.37
No log output captured.
Passed tests/functional/contribute/test_contribute.py::test_play_video 2.21
No log output captured.
Passed tests/functional/contribute/test_friends.py::test_signup_default_values 0.95
No log output captured.
Passed tests/functional/test_navigation.py::test_mobile_navigation 6.33
No log output captured.
Passed tests/functional/firefox/test_do_not_track.py::test_dnt_status 0.86
No log output captured.
Passed tests/functional/contribute/test_friends.py::test_click_fx_and_you 0.94
No log output captured.
Passed tests/functional/firefox/test_family_navigation.py::test_family_navigation_active_nav[android] 1.08
No log output captured.
Passed tests/functional/contribute/test_tasks.py::test_contribute_task_firefox_mobile 1.48
No log output captured.
Passed tests/functional/firefox/test_family_navigation.py::test_family_navigation_active_nav[features] 0.79
No log output captured.
Passed tests/functional/firefox/test_family_navigation.py::test_family_navigation_active_nav[desktop] 0.93
No log output captured.
Passed tests/functional/firefox/test_family_navigation.py::test_family_navigation_adjunct_menu[desktop] 1.27
No log output captured.
Passed tests/functional/firefox/test_all.py::test_search_language 10.83
No log output captured.
Passed tests/functional/firefox/test_do_not_track.py::test_open_and_close_faq_panel 2.46
No log output captured.
Passed tests/functional/firefox/test_family_navigation.py::test_family_navigation_active_nav[ios] 0.79
No log output captured.
Passed tests/functional/firefox/test_family_navigation.py::test_family_navigation_adjunct_menu[android] 1.08
No log output captured.
Passed tests/functional/firefox/test_family_navigation.py::test_family_navigation_adjunct_menu[ios] 1.05
No log output captured.
Passed tests/functional/firefox/test_developer.py::test_download_buttons_are_displayed 2.20
No log output captured.
Passed tests/functional/firefox/test_nightly.py::test_first_run 0.63
No log output captured.
Passed tests/functional/firefox/test_installer_help.py::test_download_buttons_displayed 3.33
No log output captured.
Passed tests/functional/firefox/channel/test_ios.py::test_download_buttons_are_displayed 0.57
No log output captured.
Passed tests/functional/firefox/channel/test_android.py::test_download_buttons_are_displayed 1.09
No log output captured.
Passed tests/functional/firefox/test_sync.py::test_app_store_buttons_displayed 0.77
No log output captured.
Passed tests/functional/firefox/test_ios_testflight.py::test_signup_default_values 0.85
No log output captured.
Passed tests/functional/firefox/channel/test_desktop.py::test_download_buttons_are_displayed 2.79
No log output captured.
Passed tests/functional/firefox/new/test_download.py::test_download_button_displayed 1.51
No log output captured.
Passed tests/functional/firefox/new/test_thank_you.py::test_direct_download_link_thank_you 0.56
No log output captured.
Passed tests/functional/firefox/os/test_devices.py::test_open_close_modal 2.57
No log output captured.
Passed tests/functional/firefox/new/test_download.py::test_click_download_button 2.03
No log output captured.
Passed tests/functional/firefox/os/test_fxos_navigation.py::test_fxos_navigation_active_nav[os/devices] 0.88
No log output captured.
Passed tests/functional/firefox/os/test_fxos_navigation.py::test_fxos_navigation_active_nav[os] 0.57
No log output captured.
Passed tests/functional/firefox/os/test_fxos_navigation.py::test_fxos_navigation_adjunct_menu[os] 0.76
No log output captured.
Passed tests/functional/firefox/os/test_fxos_navigation.py::test_fxos_navigation_active_nav[os/devices/tv] 0.61
No log output captured.
Passed tests/functional/firefox/os/test_fxos_navigation.py::test_fxos_navigation_adjunct_menu[os/devices] 0.89
No log output captured.
Passed tests/functional/firefox/os/test_os.py::test_download_buttons_are_displayed 0.51
No log output captured.
Passed tests/functional/firefox/os/test_fxos_navigation.py::test_fxos_navigation_adjunct_menu[os/devices/tv] 0.88
No log output captured.
Passed tests/functional/firefox/os/version/test_2_5.py::test_download_buttons_are_displayed 0.71
No log output captured.
Passed tests/functional/firefox/os/test_tv.py::test_next_previous_buttons 5.74
No log output captured.
Passed tests/functional/firefox/os/test_tv.py::test_click_thumbnails 5.70
No log output captured.
Passed tests/functional/newsletter/test_newsletter_landing.py::test_default_values[FirefoxNewsletterPage] 3.63
No log output captured.
Passed tests/functional/newsletter/test_newsletter_landing.py::test_default_values[MozillaNewsletterPage] 0.93
No log output captured.
Passed tests/functional/newsletter/test_newsletter_landing.py::test_default_values_developer_newsletter 0.73
No log output captured.
Passed tests/functional/thunderbird/test_thunderbird.py::test_is_download_button_displayed 1.09
No log output captured.
Passed tests/functional/thunderbird/test_channel.py::test_download_buttons_are_displayed 1.35
No log output captured.