Testcase: test_settings.TestSettings.test_switch_precipitation_scale

Build #:119:20140109: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/tmpws0B9K/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

09:30:46.612 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu3
09:30:46.634 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
09:30:46.636 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
09:30:46.638 DEBUG __init__:172 - Creating locations and settings tables
09:30:46.639 DEBUG __init__:142 - Executing sql
09:30:46.640 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
09:30:46.641 DEBUG __init__:142 - Executing sql
09:30:46.642 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
09:30:46.643 DEBUG test_settings:25 - Adding fake data to new database
09:30:46.644 DEBUG __init__:182 - Adding locations to database
09:30:46.712 DEBUG __init__:191 - Adding units to database
09:30:46.713 DEBUG __init__:142 - Executing sql
09:30:46.713 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
09:30:47.062 INFO globals:56 - ************************************************************
09:30:47.067 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_precipitation_scale (with touch)
09:30:47.071 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
09:30:47.289 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
09:30:47.290 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
09:30:50.134 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 3572
09:30:52.100 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
09:30:52.175 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:30:52.237 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
09:30:52.755 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:30:52.805 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
09:30:53.236 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
09:30:53.405 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
09:30:53.521 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
09:30:53.565 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
09:30:53.619 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
09:30:53.684 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
09:30:53.927 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:30:54.045 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:30:54.045 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
09:30:54.075 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:30:54.111 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
09:30:54.112 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
09:30:54.246 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:30:54.247 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:30:54.300 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:30:54.300 DEBUG _uinput:332 - Tapping at: 687,1208
09:30:54.403 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:30:54.816 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
09:30:55.559 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:30:55.645 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
09:30:56.510 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:30:56.585 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:30:56.718 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:30:56.718 DEBUG _uinput:332 - Tapping at: 384,709
09:30:56.820 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:30:56.898 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
09:30:57.697 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:30:57.766 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
09:30:58.604 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:30:58.605 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:30:58.651 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:30:58.725 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:30:58.726 DEBUG _uinput:332 - Tapping at: 99,817
09:30:58.945 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:30:59.014 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
09:30:59.815 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:30:59.816 DEBUG _uinput:332 - Tapping at: 642,130
09:30:59.923 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:00.347 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
09:31:00.864 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:00.914 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
09:31:01.385 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:01.434 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
09:31:01.891 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
09:31:02.076 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
09:31:02.174 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
09:31:02.215 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
09:31:02.255 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
09:31:02.329 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
09:31:02.663 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:02.821 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:31:02.822 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
09:31:02.861 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:31:02.902 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
09:31:02.903 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
09:31:03.068 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:31:03.070 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:31:03.223 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:31:03.224 DEBUG _uinput:332 - Tapping at: 687,1208
09:31:03.333 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:03.626 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
09:31:04.438 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:04.495 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
09:31:05.312 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:31:05.382 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:31:05.517 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:31:05.521 DEBUG _uinput:332 - Tapping at: 99,709
09:31:05.632 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:05.726 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
09:31:06.506 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:06.606 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
09:31:07.362 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:31:07.363 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:31:07.419 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'millimetersOption'}
09:31:07.591 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:31:07.592 DEBUG _uinput:332 - Tapping at: 384,709
09:31:07.809 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:07.947 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
09:31:08.811 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:31:08.812 DEBUG _uinput:332 - Tapping at: 642,130
09:31:08.915 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:09.391 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
09:31:09.920 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:09.981 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
09:31:10.544 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:10.597 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
09:31:11.085 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
09:31:11.289 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
09:31:11.421 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
09:31:11.518 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
09:31:11.588 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
09:31:11.628 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
09:31:11.866 INFO testcase:540 - waiting for process to exit.
09:31:11.869 INFO testcase:542 - Killing process 3572
09:31:12.885 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_precipitation_scale(with touch)
ADB_RC=0
command_type
testcase_test