Testcase: test_settings.TestSettings.test_switch_precipitation_scale

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

Test case data

testcase
test_settings.TestSettings.test_switch_precipitation_scale
testsuite
/tmp/tmpsgTW4G/testsuites/ubuntu-weather-app-autopilot
returncode
0
command
autopilot-run ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_precipitation_scale
stdout
ADB_RC=0
09:50:47.815 INFO run:62 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20140123.1-0ubuntu1
Loading tests from: /home/phablet/autopilot

09:50:48.224 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
09:50:48.226 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
09:50:48.229 DEBUG __init__:172 - Creating locations and settings tables
09:50:48.231 DEBUG __init__:142 - Executing sql
09:50:48.232 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
09:50:48.235 DEBUG __init__:142 - Executing sql
09:50:48.235 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
09:50:48.237 DEBUG test_settings:25 - Adding fake data to new database
09:50:48.238 DEBUG __init__:182 - Adding locations to database
09:50:48.319 DEBUG __init__:191 - Adding units to database
09:50:48.320 DEBUG __init__:142 - Executing sql
09:50:48.321 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
09:50:48.715 INFO globals:56 - ************************************************************
09:50:48.722 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_precipitation_scale (with touch)
09:50:48.726 WARNING testcase:113 - No tracing available - install the python-autopilot-trace package!
09:50:48.952 WARNING testcase:149 - Process manager backend unavailable, application snapshot support disabled.
09:50:48.953 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
09:50:52.839 INFO _launcher:81 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 3273
09:50:53.763 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
09:50:53.835 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:50:53.914 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
09:50:54.536 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:50:54.584 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
09:50:55.016 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
09:50:55.219 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
09:50:55.313 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
09:50:55.361 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
09:50:55.397 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
09:50:55.435 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
09:50:55.628 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:50:55.688 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:50:55.690 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
09:50:55.722 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:50:55.773 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
09:50:55.774 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
09:50:55.905 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:50:55.907 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:50:55.972 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:50:55.973 DEBUG _uinput:332 - Tapping at: 687,1208
09:50:56.075 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:50:56.523 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
09:50:57.333 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:50:57.395 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
09:50:58.180 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:50:58.229 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:50:58.293 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:50:58.294 DEBUG _uinput:332 - Tapping at: 384,709
09:50:58.396 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:50:58.504 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
09:50:59.260 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:50:59.331 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
09:51:00.119 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:51:00.120 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:51:00.217 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:51:00.307 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:51:00.308 DEBUG _uinput:332 - Tapping at: 99,817
09:51:00.520 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:00.586 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
09:51:01.359 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:51:01.361 DEBUG _uinput:332 - Tapping at: 642,130
09:51:01.464 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:01.872 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
09:51:02.399 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:02.457 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
09:51:02.988 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:03.044 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
09:51:03.550 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
09:51:03.730 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
09:51:03.838 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
09:51:03.888 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
09:51:03.967 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
09:51:04.016 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
09:51:04.279 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:04.426 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:51:04.427 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
09:51:04.522 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:51:04.569 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
09:51:04.570 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
09:51:04.666 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:51:04.667 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:51:04.742 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:51:04.743 DEBUG _uinput:332 - Tapping at: 687,1208
09:51:04.847 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:05.133 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
09:51:05.932 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:06.026 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
09:51:06.887 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:51:06.933 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:51:07.004 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:51:07.006 DEBUG _uinput:332 - Tapping at: 99,709
09:51:07.109 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:07.181 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
09:51:07.925 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:08.007 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
09:51:08.830 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:51:08.833 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:51:08.949 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'millimetersOption'}
09:51:09.141 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:51:09.142 DEBUG _uinput:332 - Tapping at: 384,709
09:51:09.351 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:09.444 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
09:51:10.248 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:51:10.249 DEBUG _uinput:332 - Tapping at: 642,130
09:51:10.352 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:10.707 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
09:51:11.277 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:11.379 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
09:51:11.855 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:11.908 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
09:51:12.377 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
09:51:12.556 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
09:51:12.645 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
09:51:12.687 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
09:51:12.754 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
09:51:12.804 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
09:51:13.041 INFO _launcher:251 - waiting for process to exit.
09:51:13.041 INFO _launcher:267 - Killing process 3273
09:51:14.136 INFO testresult:43 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_precipitation_scale(with touch)
ADB_RC=0
command_type
testcase_test