Testcase: test_settings.TestSettings.test_switch_wind_scale

Build #:79:20131220:20131219.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/tmpJ2qJdt/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

06:59:29.287 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu3
06:59:29.310 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
06:59:29.311 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
06:59:29.314 DEBUG __init__:172 - Creating locations and settings tables
06:59:29.315 DEBUG __init__:142 - Executing sql
06:59:29.315 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
06:59:29.317 DEBUG __init__:142 - Executing sql
06:59:29.317 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
06:59:29.318 DEBUG test_settings:25 - Adding fake data to new database
06:59:29.319 DEBUG __init__:182 - Adding locations to database
06:59:29.542 DEBUG __init__:191 - Adding units to database
06:59:29.543 DEBUG __init__:142 - Executing sql
06:59:29.544 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
06:59:30.031 INFO globals:56 - ************************************************************
06:59:30.035 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale (with touch)
06:59:30.038 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
06:59:30.204 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
06:59:30.206 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
06:59:33.032 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5712
06:59:34.941 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
06:59:35.004 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:59:35.059 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:59:35.612 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:59:35.664 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:59:36.182 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:59:36.373 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:59:36.489 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:59:36.536 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:59:36.590 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:59:36.649 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:59:36.873 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:59:36.980 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:59:36.981 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
06:59:37.022 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:59:37.079 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
06:59:37.082 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
06:59:37.257 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:59:37.258 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:59:37.326 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:59:37.327 DEBUG _uinput:332 - Tapping at: 687,1208
06:59:37.429 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:59:37.792 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
06:59:38.522 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:59:38.581 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
06:59:39.397 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:59:39.441 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:59:39.505 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:59:39.506 DEBUG _uinput:332 - Tapping at: 384,528
06:59:39.610 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:59:39.712 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:59:40.447 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:59:40.506 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:59:41.286 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:59:41.290 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:59:41.392 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:59:41.525 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:59:41.526 DEBUG _uinput:332 - Tapping at: 99,636
06:59:41.710 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:59:41.788 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
06:59:42.580 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:59:42.581 DEBUG _uinput:332 - Tapping at: 642,130
06:59:42.689 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:59:43.101 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
06:59:43.626 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:59:43.678 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:59:44.171 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:59:44.240 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:59:44.745 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:59:44.927 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:59:45.025 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:59:45.094 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:59:45.206 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:59:45.283 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:59:45.577 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:59:45.626 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:59:45.627 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
06:59:45.673 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:59:45.778 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
06:59:45.780 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
06:59:45.968 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:59:45.969 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:59:46.028 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:59:46.029 DEBUG _uinput:332 - Tapping at: 687,1208
06:59:46.131 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:59:46.415 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
06:59:47.195 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:59:47.277 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
06:59:48.094 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:59:48.147 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:59:48.217 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:59:48.218 DEBUG _uinput:332 - Tapping at: 99,528
06:59:48.329 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:59:48.396 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:59:49.166 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:59:49.228 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:59:49.971 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:59:49.972 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:59:50.015 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'kmhOption'}
06:59:50.168 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:59:50.169 DEBUG _uinput:332 - Tapping at: 384,528
06:59:50.349 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:59:50.413 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
06:59:51.223 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:59:51.226 DEBUG _uinput:332 - Tapping at: 642,130
06:59:51.328 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:59:51.773 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
06:59:52.323 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:59:52.378 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:59:52.847 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:59:52.915 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:59:53.390 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:59:53.559 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:59:53.648 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:59:53.688 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:59:53.739 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:59:53.805 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:59:54.084 INFO testcase:540 - waiting for process to exit.
06:59:54.087 INFO testcase:542 - Killing process 5712
06:59:55.103 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale(with touch)
ADB_RC=0
command_type
testcase_test