Testcase: test_settings.TestSettings.test_switch_precipitation_scale

Build #:79:20131220:20131219.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/tmpJ2qJdt/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:57:42.831 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu3
06:57:42.854 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
06:57:42.856 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
06:57:42.860 DEBUG __init__:172 - Creating locations and settings tables
06:57:42.861 DEBUG __init__:142 - Executing sql
06:57:42.862 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
06:57:42.864 DEBUG __init__:142 - Executing sql
06:57:42.865 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
06:57:42.866 DEBUG test_settings:25 - Adding fake data to new database
06:57:42.867 DEBUG __init__:182 - Adding locations to database
06:57:42.917 DEBUG __init__:191 - Adding units to database
06:57:42.918 DEBUG __init__:142 - Executing sql
06:57:42.918 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
06:57:43.360 INFO globals:56 - ************************************************************
06:57:43.365 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_precipitation_scale (with touch)
06:57:43.369 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
06:57:43.552 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
06:57:43.553 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
06:57:47.444 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5182
06:57:48.332 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
06:57:48.428 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:48.483 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
06:57:49.033 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:49.122 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:57:49.558 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:57:49.741 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
06:57:49.828 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:57:49.865 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:57:49.903 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:57:49.952 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:57:50.123 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:50.237 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:57:50.241 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
06:57:50.307 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:57:50.370 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
06:57:50.371 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
06:57:50.482 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:57:50.484 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:57:50.565 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:57:50.567 DEBUG _uinput:332 - Tapping at: 687,1208
06:57:50.674 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:51.044 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
06:57:51.829 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:51.893 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
06:57:52.795 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:57:52.839 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:57:52.931 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:57:52.932 DEBUG _uinput:332 - Tapping at: 384,709
06:57:53.035 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:53.164 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:57:53.936 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:53.998 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:57:54.768 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:57:54.769 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:57:54.831 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:57:54.932 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:57:54.933 DEBUG _uinput:332 - Tapping at: 99,817
06:57:55.106 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:55.176 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
06:57:56.006 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:57:56.007 DEBUG _uinput:332 - Tapping at: 642,130
06:57:56.116 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:56.672 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
06:57:57.202 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:57.275 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:57:57.765 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:57.838 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:57:58.308 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:57:58.481 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:57:58.573 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:57:58.614 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:57:58.655 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:57:58.696 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:57:58.886 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:58.937 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:57:58.939 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
06:57:58.973 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:57:59.016 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
06:57:59.017 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
06:57:59.110 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:57:59.111 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:57:59.173 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:57:59.174 DEBUG _uinput:332 - Tapping at: 687,1208
06:57:59.276 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:59.601 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
06:58:00.427 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:00.493 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
06:58:01.330 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:58:01.386 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:58:01.482 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:58:01.484 DEBUG _uinput:332 - Tapping at: 99,709
06:58:01.586 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:01.663 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:58:02.442 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:02.504 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:58:03.300 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:58:03.300 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:58:03.344 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'millimetersOption'}
06:58:03.515 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:58:03.516 DEBUG _uinput:332 - Tapping at: 384,709
06:58:03.694 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:03.759 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
06:58:04.552 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:58:04.553 DEBUG _uinput:332 - Tapping at: 642,130
06:58:04.656 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:05.070 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
06:58:05.639 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:05.724 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
06:58:06.256 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:06.308 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:58:06.807 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:58:07.010 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
06:58:07.136 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:58:07.234 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:58:07.320 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:58:07.385 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:58:07.730 INFO testcase:540 - waiting for process to exit.
06:58:07.733 INFO testcase:542 - Killing process 5182
06:58:08.749 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_precipitation_scale(with touch)
ADB_RC=0
command_type
testcase_test