Testcase: test_settings.TestSettings.test_switch_precipitation_scale

Build #:73:20131218:20131211.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/tmp6qIPGt/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

06:55:50.753 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu2
06:55:50.777 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
06:55:50.779 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
06:55:50.782 DEBUG __init__:172 - Creating locations and settings tables
06:55:50.784 DEBUG __init__:142 - Executing sql
06:55:50.785 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
06:55:50.787 DEBUG __init__:142 - Executing sql
06:55:50.787 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
06:55:50.789 DEBUG test_settings:25 - Adding fake data to new database
06:55:50.790 DEBUG __init__:182 - Adding locations to database
06:55:50.834 DEBUG __init__:191 - Adding units to database
06:55:50.834 DEBUG __init__:142 - Executing sql
06:55:50.835 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
06:55:51.257 INFO globals:56 - ************************************************************
06:55:51.263 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_precipitation_scale (with touch)
06:55:51.267 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
06:55:51.427 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
06:55:51.428 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
06:55:54.253 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 3417
06:55:56.176 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
06:55:56.256 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:55:56.324 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
06:55:56.862 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:55:56.910 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:55:57.342 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:55:57.531 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
06:55:57.647 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:55:57.684 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:55:57.745 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:55:57.787 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:55:57.984 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:55:58.094 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:55:58.096 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
06:55:58.145 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:55:58.192 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
06:55:58.193 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
06:55:58.277 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:55:58.278 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:55:58.345 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:55:58.346 DEBUG _uinput:332 - Tapping at: 687,1208
06:55:58.455 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:55:58.947 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
06:55:59.693 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:55:59.771 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
06:56:00.594 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:56:00.636 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:56:00.697 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:00.698 DEBUG _uinput:332 - Tapping at: 384,709
06:56:00.802 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:00.871 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:56:01.652 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:01.724 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:56:02.486 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:02.487 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:56:02.532 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:56:02.637 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:02.638 DEBUG _uinput:332 - Tapping at: 99,817
06:56:02.839 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:02.965 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
06:56:03.765 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:03.765 DEBUG _uinput:332 - Tapping at: 642,130
06:56:03.869 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:04.315 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
06:56:04.868 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:04.938 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:56:05.444 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:05.494 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:56:05.971 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:56:06.171 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:56:06.302 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:56:06.381 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:56:06.464 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:56:06.539 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:56:06.834 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:06.888 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:56:06.889 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
06:56:06.939 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:56:07.027 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
06:56:07.028 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
06:56:07.166 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:07.167 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:56:07.255 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:07.256 DEBUG _uinput:332 - Tapping at: 687,1208
06:56:07.361 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:07.645 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
06:56:08.409 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:08.468 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
06:56:09.269 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:56:09.378 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:56:09.449 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:09.450 DEBUG _uinput:332 - Tapping at: 99,709
06:56:09.553 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:09.625 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:56:10.409 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:10.468 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:56:11.217 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:11.218 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:56:11.263 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'millimetersOption'}
06:56:11.434 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:11.435 DEBUG _uinput:332 - Tapping at: 384,709
06:56:11.605 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:11.669 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
06:56:12.473 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:12.474 DEBUG _uinput:332 - Tapping at: 642,130
06:56:12.576 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:12.967 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
06:56:13.496 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:13.581 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
06:56:14.072 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:14.146 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:56:14.608 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:56:14.797 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
06:56:14.890 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:56:14.955 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:56:14.997 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:56:15.038 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:56:15.401 INFO testcase:540 - waiting for process to exit.
06:56:15.403 INFO testcase:542 - Killing process 3417
06:56:16.418 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_precipitation_scale(with touch)
ADB_RC=0
command_type
testcase_test