Testcase: test_settings.TestSettings.test_switch_precipitation_scale

Build #:75:20131218.2:20131218.2
Arch:mako (Nexus 4)
Release:trusty
Variant:touch
Artifacts
Console Log

Test case data

testcase
test_settings.TestSettings.test_switch_precipitation_scale
testsuite
/tmp/tmp08g7TS/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

02:54:57.215 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu3
02:54:57.239 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
02:54:57.241 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
02:54:57.244 DEBUG __init__:172 - Creating locations and settings tables
02:54:57.246 DEBUG __init__:142 - Executing sql
02:54:57.247 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
02:54:57.249 DEBUG __init__:142 - Executing sql
02:54:57.250 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
02:54:57.251 DEBUG test_settings:25 - Adding fake data to new database
02:54:57.252 DEBUG __init__:182 - Adding locations to database
02:54:57.315 DEBUG __init__:191 - Adding units to database
02:54:57.316 DEBUG __init__:142 - Executing sql
02:54:57.316 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
02:54:57.748 INFO globals:56 - ************************************************************
02:54:57.752 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_precipitation_scale (with touch)
02:54:57.755 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
02:54:57.936 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
02:54:57.937 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
02:55:01.864 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5197
02:55:02.691 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
02:55:02.753 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:02.823 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
02:55:03.342 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:03.401 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
02:55:03.869 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
02:55:04.066 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
02:55:04.155 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
02:55:04.220 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
02:55:04.284 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
02:55:04.354 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
02:55:04.730 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:04.836 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
02:55:04.839 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
02:55:04.923 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
02:55:04.999 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
02:55:05.000 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
02:55:05.114 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:55:05.115 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
02:55:05.194 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:55:05.196 DEBUG _uinput:332 - Tapping at: 687,1208
02:55:05.301 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:05.713 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
02:55:06.488 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:06.559 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
02:55:07.393 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:55:07.452 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:55:07.547 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:55:07.548 DEBUG _uinput:332 - Tapping at: 384,709
02:55:07.653 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:07.735 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
02:55:08.488 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:08.586 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
02:55:09.389 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:55:09.391 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:55:09.436 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:55:09.522 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:55:09.523 DEBUG _uinput:332 - Tapping at: 99,817
02:55:09.705 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:09.772 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
02:55:10.564 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:55:10.565 DEBUG _uinput:332 - Tapping at: 642,130
02:55:10.668 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:11.090 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
02:55:11.617 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:11.668 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
02:55:12.158 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:12.207 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
02:55:12.638 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
02:55:12.815 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
02:55:12.912 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
02:55:12.972 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
02:55:13.053 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
02:55:13.117 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
02:55:13.565 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:13.684 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
02:55:13.685 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
02:55:13.718 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
02:55:13.772 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
02:55:13.773 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
02:55:13.865 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:55:13.867 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
02:55:13.929 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:55:13.931 DEBUG _uinput:332 - Tapping at: 687,1208
02:55:14.034 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:14.322 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
02:55:15.099 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:15.176 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
02:55:15.981 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:55:16.057 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:55:16.128 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:55:16.128 DEBUG _uinput:332 - Tapping at: 99,709
02:55:16.231 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:16.338 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
02:55:17.165 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:17.268 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
02:55:18.081 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:55:18.084 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:55:18.127 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'millimetersOption'}
02:55:18.314 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:55:18.315 DEBUG _uinput:332 - Tapping at: 384,709
02:55:18.481 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:18.549 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
02:55:19.344 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:55:19.345 DEBUG _uinput:332 - Tapping at: 642,130
02:55:19.447 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:19.861 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
02:55:20.380 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:20.434 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
02:55:20.910 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:21.003 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
02:55:21.437 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
02:55:21.613 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
02:55:21.711 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
02:55:21.776 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
02:55:21.863 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
02:55:21.937 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
02:55:22.392 INFO testcase:540 - waiting for process to exit.
02:55:22.393 INFO testcase:542 - Killing process 5197
02:55:23.408 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_precipitation_scale(with touch)
ADB_RC=0
command_type
testcase_test