Testcase: test_settings.TestSettings.test_switch_precipitation_scale

Build #:163:20140204.1:20140115.1
Arch:mako (Nexus 4)
Release:trusty
Variant:touch
Artifacts
Console Log

Test case data

testcase
test_settings.TestSettings.test_switch_precipitation_scale
testsuite
/tmp/tmp5FBRjR/testsuites/ubuntu-weather-app-autopilot
returncode
0
command
autopilot-run ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_precipitation_scale
stdout
ADB_RC=0
23:38:21.408 INFO run:62 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20140123.1-0ubuntu1
Loading tests from: /home/phablet/autopilot

23:38:21.778 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
23:38:21.779 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
23:38:21.782 DEBUG __init__:172 - Creating locations and settings tables
23:38:21.783 DEBUG __init__:142 - Executing sql
23:38:21.783 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
23:38:21.785 DEBUG __init__:142 - Executing sql
23:38:21.785 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
23:38:21.786 DEBUG test_settings:25 - Adding fake data to new database
23:38:21.787 DEBUG __init__:182 - Adding locations to database
23:38:21.853 DEBUG __init__:191 - Adding units to database
23:38:21.854 DEBUG __init__:142 - Executing sql
23:38:21.854 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
23:38:22.202 INFO globals:56 - ************************************************************
23:38:22.205 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_precipitation_scale (with touch)
23:38:22.209 WARNING testcase:113 - No tracing available - install the python-autopilot-trace package!
23:38:22.378 WARNING testcase:149 - Process manager backend unavailable, application snapshot support disabled.
23:38:22.380 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
23:38:26.251 INFO _launcher:81 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5778
23:38:27.252 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
23:38:27.325 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:38:27.390 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
23:38:27.930 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:38:28.022 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
23:38:28.468 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
23:38:28.631 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
23:38:28.720 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
23:38:28.760 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
23:38:28.812 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
23:38:28.861 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
23:38:29.131 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:38:29.197 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:38:29.198 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
23:38:29.233 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:38:29.276 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
23:38:29.277 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
23:38:29.369 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:38:29.370 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:38:29.430 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:38:29.431 DEBUG _uinput:332 - Tapping at: 687,1208
23:38:29.533 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:38:29.927 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
23:38:30.680 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:38:30.758 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
23:38:31.595 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
23:38:31.646 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
23:38:31.709 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:38:31.711 DEBUG _uinput:332 - Tapping at: 384,709
23:38:31.813 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:38:31.898 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
23:38:32.689 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:38:32.768 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
23:38:33.567 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:38:33.568 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
23:38:33.612 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
23:38:33.706 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:38:33.708 DEBUG _uinput:332 - Tapping at: 99,817
23:38:33.888 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:38:33.950 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
23:38:34.770 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:38:34.774 DEBUG _uinput:332 - Tapping at: 642,130
23:38:34.876 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:38:35.337 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
23:38:35.876 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:38:35.949 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
23:38:36.456 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:38:36.520 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
23:38:36.968 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
23:38:37.131 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
23:38:37.219 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
23:38:37.261 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
23:38:37.302 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
23:38:37.348 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
23:38:37.533 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:38:37.592 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:38:37.593 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
23:38:37.634 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:38:37.710 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
23:38:37.711 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
23:38:37.817 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:38:37.817 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:38:37.876 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:38:37.877 DEBUG _uinput:332 - Tapping at: 687,1208
23:38:37.979 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:38:38.249 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
23:38:39.011 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:38:39.076 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
23:38:39.859 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
23:38:39.911 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
23:38:39.982 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:38:39.983 DEBUG _uinput:332 - Tapping at: 99,709
23:38:40.085 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:38:40.166 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
23:38:40.921 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:38:40.979 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
23:38:41.724 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:38:41.725 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
23:38:41.781 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'millimetersOption'}
23:38:41.933 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:38:41.934 DEBUG _uinput:332 - Tapping at: 384,709
23:38:42.090 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:38:42.149 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
23:38:42.908 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:38:42.910 DEBUG _uinput:332 - Tapping at: 642,130
23:38:43.013 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:38:43.390 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
23:38:43.921 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:38:43.989 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
23:38:44.493 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:38:44.547 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
23:38:44.978 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
23:38:45.141 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
23:38:45.229 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
23:38:45.270 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
23:38:45.310 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
23:38:45.357 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
23:38:45.565 INFO _launcher:251 - waiting for process to exit.
23:38:45.565 INFO _launcher:267 - Killing process 5778
23:38:46.626 INFO testresult:43 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_precipitation_scale(with touch)
ADB_RC=0
command_type
testcase_test