Testcase: test_settings.TestSettings.test_switch_precipitation_scale

Build #:149:20140127: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/tmpoiPARJ/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:25:02.328 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu4
07:25:02.351 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
07:25:02.354 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
07:25:02.358 DEBUG __init__:172 - Creating locations and settings tables
07:25:02.359 DEBUG __init__:142 - Executing sql
07:25:02.360 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
07:25:02.362 DEBUG __init__:142 - Executing sql
07:25:02.363 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
07:25:02.364 DEBUG test_settings:25 - Adding fake data to new database
07:25:02.365 DEBUG __init__:182 - Adding locations to database
07:25:02.416 DEBUG __init__:191 - Adding units to database
07:25:02.417 DEBUG __init__:142 - Executing sql
07:25:02.417 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
07:25:02.798 INFO globals:56 - ************************************************************
07:25:02.803 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_precipitation_scale (with touch)
07:25:02.809 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
07:25:02.974 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
07:25:02.975 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
07:25:06.836 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 4679
07:25:07.838 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
07:25:07.908 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:07.966 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
07:25:08.514 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:08.564 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:25:08.991 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:25:09.195 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
07:25:09.312 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:25:09.350 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:25:09.387 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:25:09.425 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:25:09.588 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:09.645 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:25:09.646 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:25:09.677 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:25:09.715 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:25:09.716 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:25:09.818 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:25:09.819 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:25:09.929 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:25:09.931 DEBUG _uinput:332 - Tapping at: 687,1208
07:25:10.038 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:10.451 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
07:25:11.247 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:11.302 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
07:25:12.133 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:25:12.228 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:25:12.353 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:25:12.353 DEBUG _uinput:332 - Tapping at: 384,709
07:25:12.457 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:12.544 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:25:13.299 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:13.362 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:25:14.157 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:25:14.158 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:25:14.204 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:25:14.327 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:25:14.328 DEBUG _uinput:332 - Tapping at: 99,817
07:25:14.514 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:14.623 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
07:25:15.467 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:25:15.468 DEBUG _uinput:332 - Tapping at: 642,130
07:25:15.570 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:15.963 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
07:25:16.501 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:16.549 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:25:17.023 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:17.071 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:25:17.558 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:25:17.750 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:25:17.837 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:25:17.893 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:25:17.988 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:25:18.068 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:25:18.400 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:18.532 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:25:18.534 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:25:18.598 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:25:18.649 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:25:18.649 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:25:18.751 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:25:18.752 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:25:18.815 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:25:18.816 DEBUG _uinput:332 - Tapping at: 687,1208
07:25:18.918 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:19.280 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
07:25:20.005 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:20.094 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
07:25:20.955 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:25:21.006 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:25:21.088 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:25:21.089 DEBUG _uinput:332 - Tapping at: 99,709
07:25:21.191 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:21.267 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:25:22.060 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:22.147 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:25:22.957 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:25:22.958 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:25:23.002 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'millimetersOption'}
07:25:23.163 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:25:23.164 DEBUG _uinput:332 - Tapping at: 384,709
07:25:23.329 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:23.391 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
07:25:24.205 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:25:24.206 DEBUG _uinput:332 - Tapping at: 642,130
07:25:24.309 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:24.738 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
07:25:25.326 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:25.418 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
07:25:25.916 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:25.970 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:25:26.404 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:25:26.569 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
07:25:26.659 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:25:26.699 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:25:26.741 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:25:26.811 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:25:27.052 INFO testcase:540 - waiting for process to exit.
07:25:27.053 INFO testcase:542 - Killing process 4679
07:25:28.067 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_precipitation_scale(with touch)
ADB_RC=0
command_type
testcase_test