Testcase: test_settings.TestSettings.test_switch_wind_scale

Build #:113:20140105.1:20131223.2
Arch:mako (Nexus 4)
Release:trusty
Variant:touch
Artifacts
Console Log

Test case data

testcase
test_settings.TestSettings.test_switch_wind_scale
testsuite
/tmp/tmp3kUR4L/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

19:02:04.058 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu3
19:02:04.080 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
19:02:04.082 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
19:02:04.084 DEBUG __init__:172 - Creating locations and settings tables
19:02:04.085 DEBUG __init__:142 - Executing sql
19:02:04.086 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
19:02:04.087 DEBUG __init__:142 - Executing sql
19:02:04.088 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
19:02:04.089 DEBUG test_settings:25 - Adding fake data to new database
19:02:04.090 DEBUG __init__:182 - Adding locations to database
19:02:04.179 DEBUG __init__:191 - Adding units to database
19:02:04.180 DEBUG __init__:142 - Executing sql
19:02:04.180 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
19:02:04.574 INFO globals:56 - ************************************************************
19:02:04.575 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale (with touch)
19:02:04.579 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
19:02:04.742 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
19:02:04.743 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
19:02:08.628 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 3755
19:02:09.746 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
19:02:09.915 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:02:09.984 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
19:02:10.500 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:02:10.569 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
19:02:10.994 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
19:02:11.155 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
19:02:11.239 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
19:02:11.277 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
19:02:11.314 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
19:02:11.369 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
19:02:11.672 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:02:11.749 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
19:02:11.752 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
19:02:11.814 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
19:02:11.871 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
19:02:11.872 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
19:02:12.022 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:02:12.025 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
19:02:12.079 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:02:12.081 DEBUG _uinput:332 - Tapping at: 687,1208
19:02:12.183 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:02:12.531 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
19:02:13.260 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:02:13.318 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
19:02:14.144 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
19:02:14.195 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
19:02:14.285 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:02:14.286 DEBUG _uinput:332 - Tapping at: 384,528
19:02:14.389 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:02:14.487 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
19:02:15.235 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:02:15.317 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
19:02:16.083 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:02:16.084 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
19:02:16.128 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
19:02:16.216 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:02:16.216 DEBUG _uinput:332 - Tapping at: 99,636
19:02:16.388 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:02:16.461 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
19:02:17.258 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:02:17.258 DEBUG _uinput:332 - Tapping at: 642,130
19:02:17.361 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:02:17.868 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
19:02:18.365 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:02:18.415 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
19:02:18.889 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:02:18.939 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
19:02:19.391 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
19:02:19.615 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
19:02:19.709 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
19:02:19.771 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
19:02:19.882 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
19:02:19.957 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
19:02:20.362 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:02:20.453 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
19:02:20.454 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
19:02:20.488 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
19:02:20.531 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
19:02:20.532 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
19:02:20.625 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:02:20.627 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
19:02:20.689 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:02:20.690 DEBUG _uinput:332 - Tapping at: 687,1208
19:02:20.795 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:02:21.068 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
19:02:21.839 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:02:21.902 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
19:02:22.683 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
19:02:22.735 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
19:02:22.834 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:02:22.834 DEBUG _uinput:332 - Tapping at: 99,528
19:02:22.936 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:02:23.015 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
19:02:23.756 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:02:23.840 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
19:02:24.686 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:02:24.686 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
19:02:24.793 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'kmhOption'}
19:02:25.005 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:02:25.006 DEBUG _uinput:332 - Tapping at: 384,528
19:02:25.182 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:02:25.273 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
19:02:26.116 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:02:26.117 DEBUG _uinput:332 - Tapping at: 642,130
19:02:26.220 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:02:26.734 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
19:02:27.298 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:02:27.354 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
19:02:27.818 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:02:27.908 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
19:02:28.370 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
19:02:28.562 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
19:02:28.664 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
19:02:28.740 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
19:02:28.806 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
19:02:28.846 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
19:02:29.125 INFO testcase:540 - waiting for process to exit.
19:02:29.127 INFO testcase:542 - Killing process 3755
19:02:30.150 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale(with touch)
ADB_RC=0
command_type
testcase_test