Testcase: test_settings.TestSettings.test_switch_wind_scale

Build #:147:20140125: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/tmpQBgVV1/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

07:30:25.427 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu4
07:30:25.450 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
07:30:25.452 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
07:30:25.455 DEBUG __init__:172 - Creating locations and settings tables
07:30:25.457 DEBUG __init__:142 - Executing sql
07:30:25.457 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
07:30:25.459 DEBUG __init__:142 - Executing sql
07:30:25.460 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
07:30:25.462 DEBUG test_settings:25 - Adding fake data to new database
07:30:25.462 DEBUG __init__:182 - Adding locations to database
07:30:25.538 DEBUG __init__:191 - Adding units to database
07:30:25.539 DEBUG __init__:142 - Executing sql
07:30:25.540 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
07:30:25.926 INFO globals:56 - ************************************************************
07:30:25.931 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale (with touch)
07:30:25.936 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
07:30:26.088 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
07:30:26.089 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
07:30:28.955 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5726
07:30:30.905 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
07:30:30.969 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:31.020 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:30:31.600 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:31.653 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:30:32.094 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:30:32.292 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:30:32.385 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:30:32.442 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:30:32.521 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:30:32.557 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:30:32.783 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:32.843 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:30:32.844 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:30:32.878 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:30:32.921 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:30:32.922 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:30:33.023 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:30:33.024 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:30:33.102 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:30:33.103 DEBUG _uinput:332 - Tapping at: 687,1208
07:30:33.205 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:33.579 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:30:34.323 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:34.429 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:30:35.216 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:30:35.262 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:30:35.384 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:30:35.385 DEBUG _uinput:332 - Tapping at: 384,528
07:30:35.492 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:35.604 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:30:36.414 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:36.475 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:30:37.228 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:30:37.229 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:30:37.273 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:30:37.363 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:30:37.364 DEBUG _uinput:332 - Tapping at: 99,636
07:30:37.568 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:37.654 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
07:30:38.478 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:30:38.480 DEBUG _uinput:332 - Tapping at: 642,130
07:30:38.583 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:38.994 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
07:30:39.530 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:39.577 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:30:40.071 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:40.117 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:30:40.610 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:30:40.773 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:30:40.882 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:30:40.956 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:30:40.998 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:30:41.052 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:30:41.256 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:41.360 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:30:41.365 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:30:41.430 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:30:41.536 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:30:41.537 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:30:41.729 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:30:41.732 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:30:41.807 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:30:41.808 DEBUG _uinput:332 - Tapping at: 687,1208
07:30:41.910 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:42.218 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:30:43.011 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:43.073 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:30:43.916 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:30:43.966 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:30:44.045 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:30:44.046 DEBUG _uinput:332 - Tapping at: 99,528
07:30:44.153 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:44.226 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:30:45.007 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:45.124 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:30:45.897 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:30:45.898 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:30:45.962 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'kmhOption'}
07:30:46.202 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:30:46.205 DEBUG _uinput:332 - Tapping at: 384,528
07:30:46.375 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:46.445 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
07:30:47.224 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:30:47.225 DEBUG _uinput:332 - Tapping at: 642,130
07:30:47.327 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:47.797 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
07:30:48.285 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:48.343 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:30:48.884 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:48.934 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:30:49.380 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:30:49.564 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:30:49.666 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:30:49.745 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:30:49.797 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:30:49.837 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:30:50.036 INFO testcase:540 - waiting for process to exit.
07:30:50.037 INFO testcase:542 - Killing process 5726
07:30:51.051 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale(with touch)
ADB_RC=0
command_type
testcase_test