Testcase: test_settings.TestSettings.test_switch_wind_scale

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

Test case data

testcase
test_settings.TestSettings.test_switch_wind_scale
testsuite
/tmp/tmpr6vMNJ/testsuites/ubuntu-weather-app-autopilot
returncode
0
command
autopilot-run ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale
stdout
ADB_RC=0
Loading tests from: /home/phablet/autopilot

07:38:52.224 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu4
07:38:52.247 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
07:38:52.249 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
07:38:52.252 DEBUG __init__:172 - Creating locations and settings tables
07:38:52.253 DEBUG __init__:142 - Executing sql
07:38:52.254 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
07:38:52.256 DEBUG __init__:142 - Executing sql
07:38:52.257 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
07:38:52.259 DEBUG test_settings:25 - Adding fake data to new database
07:38:52.259 DEBUG __init__:182 - Adding locations to database
07:38:52.325 DEBUG __init__:191 - Adding units to database
07:38:52.326 DEBUG __init__:142 - Executing sql
07:38:52.327 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
07:38:52.716 INFO globals:56 - ************************************************************
07:38:52.717 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale (with touch)
07:38:52.718 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
07:38:52.866 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
07:38:52.867 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
07:38:55.712 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5738
07:38:57.740 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
07:38:57.854 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:38:57.932 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:38:58.479 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:38:58.532 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:38:59.013 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:38:59.181 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:38:59.326 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:38:59.400 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:38:59.442 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:38:59.478 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:38:59.810 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:38:59.868 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:38:59.868 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:38:59.917 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:39:00.036 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:39:00.038 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:39:00.184 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:39:00.186 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:39:00.243 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:39:00.244 DEBUG _uinput:332 - Tapping at: 687,1208
07:39:00.346 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:39:00.778 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:39:01.512 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:39:01.597 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:39:02.412 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:39:02.477 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:39:02.604 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:39:02.607 DEBUG _uinput:332 - Tapping at: 384,528
07:39:02.712 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:39:02.804 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:39:03.561 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:39:03.622 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:39:04.396 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:39:04.397 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:39:04.445 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:39:04.599 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:39:04.600 DEBUG _uinput:332 - Tapping at: 99,636
07:39:04.769 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:39:04.898 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
07:39:05.793 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:39:05.794 DEBUG _uinput:332 - Tapping at: 642,130
07:39:05.896 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:39:06.311 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
07:39:06.859 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:39:06.906 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:39:07.377 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:39:07.425 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:39:07.877 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:39:08.085 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:39:08.192 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:39:08.239 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:39:08.277 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:39:08.315 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:39:08.627 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:39:08.726 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:39:08.727 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:39:08.778 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:39:08.834 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:39:08.834 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:39:08.936 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:39:08.937 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:39:09.051 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:39:09.052 DEBUG _uinput:332 - Tapping at: 687,1208
07:39:09.159 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:39:09.465 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:39:10.240 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:39:10.299 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:39:11.114 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:39:11.214 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:39:11.298 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:39:11.298 DEBUG _uinput:332 - Tapping at: 99,528
07:39:11.401 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:39:11.456 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:39:12.193 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:39:12.252 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:39:13.101 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:39:13.101 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:39:13.149 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'kmhOption'}
07:39:13.302 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:39:13.303 DEBUG _uinput:332 - Tapping at: 384,528
07:39:13.461 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:39:13.559 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
07:39:14.348 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:39:14.350 DEBUG _uinput:332 - Tapping at: 642,130
07:39:14.453 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:39:14.900 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
07:39:15.434 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:39:15.483 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:39:15.951 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:39:16.010 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:39:16.511 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:39:16.675 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:39:16.768 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:39:16.843 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:39:16.891 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:39:16.941 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:39:17.227 INFO testcase:540 - waiting for process to exit.
07:39:17.227 INFO testcase:542 - Killing process 5738
07:39:18.242 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale(with touch)
ADB_RC=0
command_type
testcase_test