Testcase: test_settings.TestSettings.test_switch_precipitation_scale

Build #:147:20140125: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/tmpQBgVV1/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

07:28:11.745 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu4
07:28:11.767 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
07:28:11.769 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
07:28:11.771 DEBUG __init__:172 - Creating locations and settings tables
07:28:11.772 DEBUG __init__:142 - Executing sql
07:28:11.773 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
07:28:11.774 DEBUG __init__:142 - Executing sql
07:28:11.775 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
07:28:11.776 DEBUG test_settings:25 - Adding fake data to new database
07:28:11.776 DEBUG __init__:182 - Adding locations to database
07:28:11.853 DEBUG __init__:191 - Adding units to database
07:28:11.854 DEBUG __init__:142 - Executing sql
07:28:11.854 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
07:28:12.256 INFO globals:56 - ************************************************************
07:28:12.258 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_precipitation_scale (with touch)
07:28:12.259 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
07:28:12.426 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
07:28:12.427 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
07:28:15.286 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 4851
07:28:17.157 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
07:28:17.221 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:28:17.278 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
07:28:17.773 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:28:17.822 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:28:18.259 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:28:18.467 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
07:28:18.569 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:28:18.614 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:28:18.660 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:28:18.734 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:28:19.063 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:28:19.125 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:28:19.126 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:28:19.160 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:28:19.202 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:28:19.203 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:28:19.298 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:28:19.299 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:28:19.361 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:28:19.362 DEBUG _uinput:332 - Tapping at: 687,1208
07:28:19.464 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:28:19.846 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
07:28:20.601 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:28:20.668 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
07:28:21.498 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:28:21.543 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:28:21.610 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:28:21.611 DEBUG _uinput:332 - Tapping at: 384,709
07:28:21.714 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:28:21.824 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:28:22.625 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:28:22.687 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:28:23.482 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:28:23.482 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:28:23.526 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:28:23.595 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:28:23.595 DEBUG _uinput:332 - Tapping at: 99,817
07:28:23.792 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:28:23.862 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
07:28:24.708 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:28:24.710 DEBUG _uinput:332 - Tapping at: 642,130
07:28:24.813 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:28:25.292 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
07:28:25.882 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:28:25.932 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:28:26.404 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:28:26.484 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:28:26.944 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:28:27.137 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:28:27.260 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:28:27.316 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:28:27.369 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:28:27.439 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:28:27.830 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:28:27.936 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:28:27.937 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:28:27.973 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:28:28.020 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:28:28.022 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:28:28.165 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:28:28.165 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:28:28.226 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:28:28.227 DEBUG _uinput:332 - Tapping at: 687,1208
07:28:28.329 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:28:28.670 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
07:28:29.420 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:28:29.480 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
07:28:30.292 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:28:30.356 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:28:30.439 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:28:30.439 DEBUG _uinput:332 - Tapping at: 99,709
07:28:30.542 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:28:30.613 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:28:31.363 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:28:31.434 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:28:32.230 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:28:32.231 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:28:32.274 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'millimetersOption'}
07:28:32.470 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:28:32.471 DEBUG _uinput:332 - Tapping at: 384,709
07:28:32.666 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:28:32.721 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
07:28:33.515 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:28:33.516 DEBUG _uinput:332 - Tapping at: 642,130
07:28:33.618 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:28:33.999 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
07:28:34.541 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:28:34.596 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
07:28:35.088 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:28:35.142 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:28:35.765 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:28:35.940 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
07:28:36.031 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:28:36.098 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:28:36.166 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:28:36.265 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:28:36.552 INFO testcase:540 - waiting for process to exit.
07:28:36.553 INFO testcase:542 - Killing process 4851
07:28:37.566 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_precipitation_scale(with touch)
ADB_RC=0
command_type
testcase_test