Testcase: test_settings.TestSettings.test_switch_wind_scale

Build #:119:20140109:20140107.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/tmpws0B9K/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

09:32:34.031 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu3
09:32:34.054 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
09:32:34.056 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
09:32:34.060 DEBUG __init__:172 - Creating locations and settings tables
09:32:34.061 DEBUG __init__:142 - Executing sql
09:32:34.062 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
09:32:34.064 DEBUG __init__:142 - Executing sql
09:32:34.065 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
09:32:34.066 DEBUG test_settings:25 - Adding fake data to new database
09:32:34.067 DEBUG __init__:182 - Adding locations to database
09:32:34.135 DEBUG __init__:191 - Adding units to database
09:32:34.136 DEBUG __init__:142 - Executing sql
09:32:34.136 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
09:32:34.570 INFO globals:56 - ************************************************************
09:32:34.575 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale (with touch)
09:32:34.579 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
09:32:34.759 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
09:32:34.760 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
09:32:38.629 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 4104
09:32:40.069 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
09:32:40.198 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:32:40.329 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
09:32:40.925 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:32:40.976 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
09:32:41.428 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
09:32:41.612 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
09:32:41.706 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
09:32:41.747 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
09:32:41.786 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
09:32:41.826 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
09:32:42.051 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:32:42.185 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:32:42.187 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
09:32:42.247 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:32:42.296 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
09:32:42.297 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
09:32:42.457 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:32:42.458 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:32:42.515 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:32:42.516 DEBUG _uinput:332 - Tapping at: 687,1208
09:32:42.618 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:32:43.035 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
09:32:43.776 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:32:43.841 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
09:32:44.687 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:32:44.757 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:32:44.897 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:32:44.898 DEBUG _uinput:332 - Tapping at: 384,528
09:32:45.000 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:32:45.073 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
09:32:45.867 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:32:45.931 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
09:32:46.746 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:32:46.747 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:32:46.795 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:32:46.870 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:32:46.871 DEBUG _uinput:332 - Tapping at: 99,636
09:32:47.056 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:32:47.121 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
09:32:47.909 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:32:47.910 DEBUG _uinput:332 - Tapping at: 642,130
09:32:48.013 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:32:48.443 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
09:32:48.955 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:32:49.029 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
09:32:49.556 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:32:49.603 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
09:32:50.043 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
09:32:50.241 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
09:32:50.336 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
09:32:50.375 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
09:32:50.414 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
09:32:50.453 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
09:32:50.797 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:32:50.848 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:32:50.849 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
09:32:50.913 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:32:50.989 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
09:32:50.990 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
09:32:51.117 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:32:51.118 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:32:51.219 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:32:51.220 DEBUG _uinput:332 - Tapping at: 687,1208
09:32:51.327 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:32:51.625 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
09:32:52.431 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:32:52.503 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
09:32:53.387 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:32:53.444 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:32:53.546 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:32:53.548 DEBUG _uinput:332 - Tapping at: 99,528
09:32:53.662 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:32:53.735 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
09:32:54.544 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:32:54.605 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
09:32:55.374 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:32:55.374 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:32:55.420 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'kmhOption'}
09:32:55.635 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:32:55.638 DEBUG _uinput:332 - Tapping at: 384,528
09:32:55.825 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:32:55.900 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
09:32:56.677 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:32:56.679 DEBUG _uinput:332 - Tapping at: 642,130
09:32:56.783 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:32:57.269 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
09:32:57.888 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:32:57.941 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
09:32:58.463 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:32:58.519 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
09:32:59.009 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
09:32:59.208 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
09:32:59.350 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
09:32:59.389 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
09:32:59.429 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
09:32:59.468 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
09:32:59.686 INFO testcase:540 - waiting for process to exit.
09:32:59.687 INFO testcase:542 - Killing process 4104
09:33:00.706 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale(with touch)
ADB_RC=0
command_type
testcase_test