Testcase: test_settings.TestSettings.test_switch_precipitation_scale

Build #:120:20140109.1:20140107.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/tmphY15uW/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
Loading tests from: /home/phablet/autopilot

21:17:40.088 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu3
21:17:40.111 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
21:17:40.113 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
21:17:40.117 DEBUG __init__:172 - Creating locations and settings tables
21:17:40.118 DEBUG __init__:142 - Executing sql
21:17:40.120 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
21:17:40.122 DEBUG __init__:142 - Executing sql
21:17:40.123 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
21:17:40.124 DEBUG test_settings:25 - Adding fake data to new database
21:17:40.125 DEBUG __init__:182 - Adding locations to database
21:17:40.180 DEBUG __init__:191 - Adding units to database
21:17:40.181 DEBUG __init__:142 - Executing sql
21:17:40.182 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
21:17:40.611 INFO globals:56 - ************************************************************
21:17:40.616 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_precipitation_scale (with touch)
21:17:40.621 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
21:17:40.773 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
21:17:40.774 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
21:17:43.620 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5192
21:17:45.551 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
21:17:45.645 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:17:45.721 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
21:17:46.265 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:17:46.313 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
21:17:46.752 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
21:17:46.913 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
21:17:47.014 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:17:47.089 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:17:47.132 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:17:47.183 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:17:47.656 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:17:47.748 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:17:47.749 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
21:17:47.780 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:17:47.818 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
21:17:47.821 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
21:17:47.919 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:17:47.920 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:17:47.989 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:17:47.991 DEBUG _uinput:332 - Tapping at: 687,1208
21:17:48.094 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:17:48.532 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
21:17:49.308 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:17:49.371 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
21:17:50.202 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:17:50.245 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:17:50.307 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:17:50.307 DEBUG _uinput:332 - Tapping at: 384,709
21:17:50.409 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:17:50.495 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:17:51.302 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:17:51.444 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:17:52.268 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:17:52.269 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:17:52.313 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:17:52.386 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:17:52.387 DEBUG _uinput:332 - Tapping at: 99,817
21:17:52.553 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:17:52.633 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
21:17:53.452 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:17:53.453 DEBUG _uinput:332 - Tapping at: 642,130
21:17:53.561 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:17:54.029 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
21:17:54.620 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:17:54.671 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:17:55.149 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:17:55.223 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
21:17:55.692 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
21:17:55.886 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:17:55.997 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:17:56.035 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:17:56.073 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:17:56.109 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:17:56.325 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:17:56.396 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:17:56.397 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
21:17:56.480 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:17:56.551 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
21:17:56.552 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
21:17:56.731 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:17:56.732 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:17:56.801 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:17:56.801 DEBUG _uinput:332 - Tapping at: 687,1208
21:17:56.906 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:17:57.186 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
21:17:57.951 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:17:58.031 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
21:17:58.932 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:17:59.065 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:17:59.166 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:17:59.167 DEBUG _uinput:332 - Tapping at: 99,709
21:17:59.273 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:17:59.350 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:18:00.136 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:18:00.218 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:18:00.981 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:18:00.982 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:18:01.043 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'millimetersOption'}
21:18:01.225 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:18:01.226 DEBUG _uinput:332 - Tapping at: 384,709
21:18:01.439 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:18:01.506 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
21:18:02.297 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:18:02.298 DEBUG _uinput:332 - Tapping at: 642,130
21:18:02.401 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:18:02.789 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
21:18:03.327 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:18:03.401 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
21:18:03.872 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:18:03.924 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
21:18:04.412 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
21:18:04.619 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
21:18:04.743 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:18:04.836 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:18:04.921 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:18:04.967 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:18:05.280 INFO testcase:540 - waiting for process to exit.
21:18:05.280 INFO testcase:542 - Killing process 5192
21:18:06.302 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_precipitation_scale(with touch)
ADB_RC=0
command_type
testcase_test