Testcase: test_settings.TestSettings.test_switch_wind_scale

Build #:145:20140123.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/tmpvbxP1F/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

22:20:26.731 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu4
22:20:26.753 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
22:20:26.754 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
22:20:26.757 DEBUG __init__:172 - Creating locations and settings tables
22:20:26.758 DEBUG __init__:142 - Executing sql
22:20:26.758 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
22:20:26.760 DEBUG __init__:142 - Executing sql
22:20:26.760 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
22:20:26.762 DEBUG test_settings:25 - Adding fake data to new database
22:20:26.762 DEBUG __init__:182 - Adding locations to database
22:20:26.983 DEBUG __init__:191 - Adding units to database
22:20:26.985 DEBUG __init__:142 - Executing sql
22:20:26.986 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
22:20:27.497 INFO globals:56 - ************************************************************
22:20:27.498 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale (with touch)
22:20:27.499 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
22:20:27.661 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
22:20:27.661 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
22:20:31.502 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5709
22:20:32.885 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
22:20:32.961 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:20:33.061 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
22:20:33.579 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:20:33.669 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
22:20:34.128 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
22:20:34.299 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
22:20:34.389 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
22:20:34.430 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
22:20:34.469 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
22:20:34.573 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
22:20:34.811 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:20:34.897 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
22:20:34.898 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
22:20:34.952 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
22:20:34.990 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
22:20:34.990 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
22:20:35.109 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:20:35.110 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
22:20:35.164 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:20:35.165 DEBUG _uinput:332 - Tapping at: 687,1208
22:20:35.267 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:20:35.668 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
22:20:36.414 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:20:36.482 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
22:20:37.326 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
22:20:37.371 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
22:20:37.453 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:20:37.454 DEBUG _uinput:332 - Tapping at: 384,528
22:20:37.558 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:20:37.670 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
22:20:38.433 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:20:38.520 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
22:20:39.364 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:20:39.367 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
22:20:39.432 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
22:20:39.559 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:20:39.560 DEBUG _uinput:332 - Tapping at: 99,636
22:20:39.770 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:20:39.832 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
22:20:40.640 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:20:40.643 DEBUG _uinput:332 - Tapping at: 642,130
22:20:40.745 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:20:41.148 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
22:20:41.681 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:20:41.730 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
22:20:42.282 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:20:42.349 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
22:20:42.830 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
22:20:43.012 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
22:20:43.106 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
22:20:43.148 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
22:20:43.189 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
22:20:43.230 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
22:20:43.408 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:20:43.461 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
22:20:43.463 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
22:20:43.499 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
22:20:43.545 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
22:20:43.546 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
22:20:43.642 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:20:43.644 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
22:20:43.707 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:20:43.709 DEBUG _uinput:332 - Tapping at: 687,1208
22:20:43.811 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:20:44.092 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
22:20:44.885 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:20:44.950 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
22:20:45.751 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
22:20:45.802 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
22:20:45.890 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:20:45.891 DEBUG _uinput:332 - Tapping at: 99,528
22:20:45.994 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:20:46.087 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
22:20:46.849 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:20:46.910 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
22:20:47.700 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:20:47.701 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
22:20:47.806 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'kmhOption'}
22:20:47.950 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:20:47.951 DEBUG _uinput:332 - Tapping at: 384,528
22:20:48.136 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:20:48.207 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
22:20:49.033 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:20:49.035 DEBUG _uinput:332 - Tapping at: 642,130
22:20:49.137 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:20:49.538 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
22:20:50.099 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:20:50.149 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
22:20:50.619 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:20:50.670 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
22:20:51.121 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
22:20:51.328 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
22:20:51.424 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
22:20:51.488 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
22:20:51.569 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
22:20:51.636 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
22:20:51.904 INFO testcase:540 - waiting for process to exit.
22:20:51.905 INFO testcase:542 - Killing process 5709
22:20:52.920 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale(with touch)
ADB_RC=0
command_type
testcase_test