Testcase: test_locationmanager.TestLocationManager.test_search_city

Build #:143:20140122.1:20140115.1
Arch:mako (Nexus 4)
Release:trusty
Variant:touch
Artifacts
Console Log

Test case data

testcase
test_locationmanager.TestLocationManager.test_search_city
testsuite
/tmp/tmphf6F36/testsuites/ubuntu-weather-app-autopilot
returncode
1
command
autopilot-run ubuntu_weather_app.tests.test_locationmanager.TestLocationManager.test_search_city
stdout
ADB_RC=0
Loading tests from: /home/phablet/autopilot

21:51:20.712 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu4
21:51:20.734 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
21:51:21.090 INFO globals:56 - ************************************************************
21:51:21.093 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_locationmanager.TestLocationManager.test_search_city (with touch)
21:51:21.095 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
21:51:21.283 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
21:51:21.284 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
21:51:25.188 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 9395
21:51:26.000 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
21:51:26.104 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:51:26.132 DEBUG dbus:431 - Selecting objects of type Standard with attributes: {'objectName': 'AddCityListItem'}
21:51:26.518 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:51:26.519 DEBUG _uinput:332 - Tapping at: 384,572
21:51:26.621 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:51:27.024 DEBUG dbus:431 - Selecting objects of type DefaultSheet with attributes: {'objectName': 'AddLocationSheet'}
21:51:27.748 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:51:27.811 DEBUG dbus:431 - Selecting objects of type TextField with attributes: {'objectName': 'SearchField'}
21:51:28.439 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:51:28.439 DEBUG _uinput:332 - Tapping at: 384,265
21:51:29.582 DEBUG _uinput:135 - Typing text 'London'
21:51:29.596 DEBUG _uinput:80 - Pressing L (42)
21:51:29.697 DEBUG _uinput:80 - Pressing L (38)
21:51:29.798 DEBUG _uinput:103 - Releasing L (42)
21:51:29.899 DEBUG _uinput:103 - Releasing L (38)
21:51:30.001 DEBUG _uinput:80 - Pressing o (24)
21:51:30.104 DEBUG _uinput:103 - Releasing o (24)
21:51:30.210 DEBUG _uinput:80 - Pressing n (49)
21:51:30.316 DEBUG _uinput:103 - Releasing n (49)
21:51:30.417 DEBUG _uinput:80 - Pressing d (32)
21:51:30.518 DEBUG _uinput:103 - Releasing d (32)
21:51:30.619 DEBUG _uinput:80 - Pressing o (24)
21:51:30.722 DEBUG _uinput:103 - Releasing o (24)
21:51:30.823 DEBUG _uinput:80 - Pressing n (49)
21:51:30.924 DEBUG _uinput:103 - Releasing n (49)
21:51:41.703 INFO testcase:540 - waiting for process to exit.
21:51:41.705 INFO testcase:542 - Killing process 9395
21:51:42.719 ERROR testresult:37 - FAIL: ubuntu_weather_app.tests.test_locationmanager.TestLocationManager.test_search_city(with touch)
21:51:42.723 ERROR testresult:37 - traceback: {{{
Traceback (most recent call last):
File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_locationmanager.py", line 149, in test_search_city
searchField = self._search_for_city("London")
File "/home/phablet/autopilot/ubuntu_weather_app/tests/test_locationmanager.py", line 75, in _search_for_city
self.assertThat(searchField.text, Eventually(Equals(city)))
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 412, in assertThat
raise MismatchError(matchee, matcher, mismatch, verbose)
MismatchError: After 10.0 seconds test on TextField.text failed: u'London' != dbus.String(u'london', variant_level=1)
}}}
ADB_RC=1
command_type
testcase_test