Testcase: test_settings.TestSettings.test_switch_precipitation_scale

Build #:148:20140126: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/tmp4eSvnm/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:24:08.422 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu4
07:24:08.445 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
07:24:08.447 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
07:24:08.450 DEBUG __init__:172 - Creating locations and settings tables
07:24:08.452 DEBUG __init__:142 - Executing sql
07:24:08.453 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
07:24:08.455 DEBUG __init__:142 - Executing sql
07:24:08.456 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
07:24:08.457 DEBUG test_settings:25 - Adding fake data to new database
07:24:08.458 DEBUG __init__:182 - Adding locations to database
07:24:08.518 DEBUG __init__:191 - Adding units to database
07:24:08.520 DEBUG __init__:142 - Executing sql
07:24:08.520 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
07:24:08.924 INFO globals:56 - ************************************************************
07:24:08.925 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_precipitation_scale (with touch)
07:24:08.926 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
07:24:09.075 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
07:24:09.076 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
07:24:12.966 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 7048
07:24:14.453 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
07:24:14.554 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:24:14.667 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
07:24:15.240 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:24:15.288 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:24:15.764 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:24:15.967 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
07:24:16.054 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:24:16.092 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:24:16.128 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:24:16.165 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:24:16.410 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:24:16.516 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:24:16.518 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:24:16.567 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:24:16.617 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:24:16.618 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:24:16.711 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:24:16.712 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:24:16.769 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:24:16.771 DEBUG _uinput:332 - Tapping at: 687,1208
07:24:16.873 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:24:17.260 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
07:24:18.036 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:24:18.105 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
07:24:18.957 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:24:19.002 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:24:19.068 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:24:19.068 DEBUG _uinput:332 - Tapping at: 384,709
07:24:19.172 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:24:19.249 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:24:20.046 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:24:20.153 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:24:20.939 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:24:20.941 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:24:20.994 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:24:21.080 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:24:21.082 DEBUG _uinput:332 - Tapping at: 99,817
07:24:21.264 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:24:21.334 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
07:24:22.146 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:24:22.147 DEBUG _uinput:332 - Tapping at: 642,130
07:24:22.249 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:24:22.694 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
07:24:23.222 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:24:23.281 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:24:23.780 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:24:23.832 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:24:24.319 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:24:24.515 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:24:24.614 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:24:24.677 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:24:24.725 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:24:24.784 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:24:25.204 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:24:25.254 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:24:25.255 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:24:25.298 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:24:25.344 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:24:25.345 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:24:25.441 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:24:25.443 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:24:25.506 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:24:25.507 DEBUG _uinput:332 - Tapping at: 687,1208
07:24:25.612 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:24:25.856 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
07:24:26.626 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:24:26.708 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
07:24:27.538 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:24:27.588 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:24:27.675 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:24:27.676 DEBUG _uinput:332 - Tapping at: 99,709
07:24:27.790 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:24:27.849 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:24:28.590 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:24:28.680 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:24:29.553 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:24:29.554 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:24:29.600 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'millimetersOption'}
07:24:29.770 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:24:29.770 DEBUG _uinput:332 - Tapping at: 384,709
07:24:29.928 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:24:30.010 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
07:24:30.789 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:24:30.790 DEBUG _uinput:332 - Tapping at: 642,130
07:24:30.894 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:24:31.315 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
07:24:31.874 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:24:31.958 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
07:24:32.432 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:24:32.511 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:24:32.943 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:24:33.209 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
07:24:33.301 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:24:33.370 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:24:33.465 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:24:33.548 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:24:33.932 INFO testcase:540 - waiting for process to exit.
07:24:33.933 INFO testcase:542 - Killing process 7048
07:24:34.949 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_precipitation_scale(with touch)
ADB_RC=0
command_type
testcase_test