Testcase: test_settings.TestSettings.test_switch_precipitation_scale

Build #:151:20140129: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/tmpU6gyPS/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
07:30:27.948 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

07:30:28.371 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
07:30:28.372 DEBUG __init__:153 - Could not remove existing database
07:30:28.372 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
07:30:28.381 DEBUG __init__:172 - Creating locations and settings tables
07:30:28.382 DEBUG __init__:142 - Executing sql
07:30:28.383 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
07:30:28.385 DEBUG __init__:142 - Executing sql
07:30:28.385 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
07:30:28.386 DEBUG test_settings:25 - Adding fake data to new database
07:30:28.387 DEBUG __init__:182 - Adding locations to database
07:30:28.443 DEBUG __init__:191 - Adding units to database
07:30:28.444 DEBUG __init__:142 - Executing sql
07:30:28.444 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
07:30:28.800 INFO globals:56 - ************************************************************
07:30:28.801 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_precipitation_scale (with touch)
07:30:28.803 WARNING testcase:113 - No tracing available - install the python-autopilot-trace package!
07:30:28.997 WARNING testcase:149 - Process manager backend unavailable, application snapshot support disabled.
07:30:29.000 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
07:30:32.890 INFO _launcher:81 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 4843
07:30:34.326 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
07:30:34.416 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:34.465 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
07:30:35.114 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:35.160 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:30:35.595 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:30:35.763 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
07:30:35.896 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:30:35.945 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:30:36.027 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:30:36.110 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:30:36.452 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:36.542 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:30:36.544 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:30:36.591 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:30:36.672 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:30:36.674 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:30:36.841 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:30:36.842 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:30:36.905 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:30:36.906 DEBUG _uinput:332 - Tapping at: 687,1208
07:30:37.010 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:37.381 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
07:30:38.174 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:38.233 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
07:30:39.081 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:30:39.142 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:30:39.266 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:30:39.269 DEBUG _uinput:332 - Tapping at: 384,709
07:30:39.376 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:39.459 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:30:40.257 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:40.318 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:30:41.112 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:30:41.113 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:30:41.156 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:30:41.222 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:30:41.223 DEBUG _uinput:332 - Tapping at: 99,817
07:30:41.416 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:41.506 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
07:30:42.394 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:30:42.395 DEBUG _uinput:332 - Tapping at: 642,130
07:30:42.497 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:42.991 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
07:30:43.606 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:43.655 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:30:44.131 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:44.184 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:30:44.662 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:30:44.836 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:30:44.931 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:30:44.975 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:30:45.025 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:30:45.091 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:30:45.475 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:45.588 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:30:45.592 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:30:45.628 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:30:45.669 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:30:45.670 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:30:45.805 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:30:45.807 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:30:45.937 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:30:45.938 DEBUG _uinput:332 - Tapping at: 687,1208
07:30:46.044 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:46.306 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
07:30:47.063 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:47.125 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
07:30:47.946 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:30:48.011 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:30:48.126 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:30:48.127 DEBUG _uinput:332 - Tapping at: 99,709
07:30:48.233 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:48.331 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:30:49.091 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:49.158 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:30:49.916 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:30:49.917 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:30:49.964 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'millimetersOption'}
07:30:50.172 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:30:50.172 DEBUG _uinput:332 - Tapping at: 384,709
07:30:50.357 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:50.439 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
07:30:51.222 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:30:51.223 DEBUG _uinput:332 - Tapping at: 642,130
07:30:51.325 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:51.819 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
07:30:52.416 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:52.465 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
07:30:52.957 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:53.028 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:30:53.473 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:30:53.711 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
07:30:53.829 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:30:53.907 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:30:53.959 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:30:54.010 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:30:54.270 INFO _launcher:251 - waiting for process to exit.
07:30:54.271 INFO _launcher:267 - Killing process 4843
07:30:55.355 INFO testresult:43 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_precipitation_scale(with touch)
ADB_RC=0
command_type
testcase_test