Testcase: test_settings.TestSettings.test_switch_wind_scale

Build #:152:20140129.1: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/tmpayWqSd/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
21:32:58.462 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

21:32:58.853 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
21:32:58.856 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
21:32:58.859 DEBUG __init__:172 - Creating locations and settings tables
21:32:58.860 DEBUG __init__:142 - Executing sql
21:32:58.861 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
21:32:58.863 DEBUG __init__:142 - Executing sql
21:32:58.864 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
21:32:58.866 DEBUG test_settings:25 - Adding fake data to new database
21:32:58.866 DEBUG __init__:182 - Adding locations to database
21:32:58.926 DEBUG __init__:191 - Adding units to database
21:32:58.926 DEBUG __init__:142 - Executing sql
21:32:58.927 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
21:32:59.324 INFO globals:56 - ************************************************************
21:32:59.329 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale (with touch)
21:32:59.334 WARNING testcase:113 - No tracing available - install the python-autopilot-trace package!
21:32:59.500 WARNING testcase:149 - Process manager backend unavailable, application snapshot support disabled.
21:32:59.502 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
21:33:03.362 INFO _launcher:81 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5740
21:33:04.673 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
21:33:04.761 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:33:04.871 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:33:05.443 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:33:05.491 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
21:33:05.935 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
21:33:06.097 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:33:06.182 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:33:06.221 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:33:06.265 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:33:06.301 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:33:06.464 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:33:06.520 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:33:06.521 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
21:33:06.561 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:33:06.604 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
21:33:06.605 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
21:33:06.698 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:33:06.700 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:33:06.781 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:33:06.783 DEBUG _uinput:332 - Tapping at: 687,1208
21:33:06.885 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:33:07.289 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
21:33:08.053 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:33:08.111 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
21:33:08.997 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:33:09.040 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:33:09.103 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:33:09.104 DEBUG _uinput:332 - Tapping at: 384,528
21:33:09.207 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:33:09.313 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:33:10.074 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:33:10.134 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:33:10.958 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:33:10.959 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:33:11.002 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:33:11.072 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:33:11.073 DEBUG _uinput:332 - Tapping at: 99,636
21:33:11.265 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:33:11.324 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
21:33:12.125 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:33:12.126 DEBUG _uinput:332 - Tapping at: 642,130
21:33:12.228 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:33:12.635 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
21:33:13.164 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:33:13.238 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:33:13.710 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:33:13.766 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
21:33:14.245 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
21:33:14.424 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:33:14.551 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:33:14.592 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:33:14.638 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:33:14.700 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:33:14.874 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:33:14.940 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:33:14.941 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
21:33:14.973 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:33:15.015 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
21:33:15.017 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
21:33:15.107 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:33:15.109 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:33:15.168 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:33:15.169 DEBUG _uinput:332 - Tapping at: 687,1208
21:33:15.272 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:33:15.522 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
21:33:16.340 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:33:16.426 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
21:33:17.236 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:33:17.288 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:33:17.380 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:33:17.381 DEBUG _uinput:332 - Tapping at: 99,528
21:33:17.488 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:33:17.558 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:33:18.352 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:33:18.417 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:33:19.220 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:33:19.221 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:33:19.271 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'kmhOption'}
21:33:19.450 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:33:19.453 DEBUG _uinput:332 - Tapping at: 384,528
21:33:19.642 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:33:19.702 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
21:33:20.553 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:33:20.554 DEBUG _uinput:332 - Tapping at: 642,130
21:33:20.655 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:33:21.042 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
21:33:21.606 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:33:21.658 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:33:22.161 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:33:22.227 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
21:33:22.700 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
21:33:22.880 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:33:22.988 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:33:23.040 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:33:23.109 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:33:23.150 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:33:23.422 INFO _launcher:251 - waiting for process to exit.
21:33:23.423 INFO _launcher:267 - Killing process 5740
21:33:24.498 INFO testresult:43 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale(with touch)
ADB_RC=0
command_type
testcase_test