Testcase: test_settings.TestSettings.test_switch_precipitation_scale

Build #:113:20140105.1:20131223.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/tmp3kUR4L/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

19:00:17.610 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu3
19:00:17.632 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
19:00:17.633 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
19:00:17.636 DEBUG __init__:172 - Creating locations and settings tables
19:00:17.637 DEBUG __init__:142 - Executing sql
19:00:17.637 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
19:00:17.639 DEBUG __init__:142 - Executing sql
19:00:17.639 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
19:00:17.641 DEBUG test_settings:25 - Adding fake data to new database
19:00:17.641 DEBUG __init__:182 - Adding locations to database
19:00:17.694 DEBUG __init__:191 - Adding units to database
19:00:17.695 DEBUG __init__:142 - Executing sql
19:00:17.695 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
19:00:18.034 INFO globals:56 - ************************************************************
19:00:18.039 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_precipitation_scale (with touch)
19:00:18.043 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
19:00:18.200 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
19:00:18.201 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
19:00:22.071 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 3240
19:00:23.021 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
19:00:23.084 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:00:23.154 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
19:00:23.749 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:00:23.799 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
19:00:24.235 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
19:00:24.401 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
19:00:24.526 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
19:00:24.573 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
19:00:24.657 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
19:00:24.769 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
19:00:24.930 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:00:24.980 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
19:00:24.980 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
19:00:25.013 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
19:00:25.069 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
19:00:25.070 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
19:00:25.192 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:00:25.193 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
19:00:25.262 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:00:25.263 DEBUG _uinput:332 - Tapping at: 687,1208
19:00:25.366 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:00:25.797 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
19:00:26.558 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:00:26.627 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
19:00:27.476 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
19:00:27.518 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
19:00:27.588 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:00:27.589 DEBUG _uinput:332 - Tapping at: 384,709
19:00:27.698 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:00:27.772 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
19:00:28.510 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:00:28.582 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
19:00:29.336 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:00:29.337 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
19:00:29.381 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
19:00:29.474 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:00:29.475 DEBUG _uinput:332 - Tapping at: 99,817
19:00:29.649 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:00:29.723 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
19:00:30.524 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:00:30.526 DEBUG _uinput:332 - Tapping at: 642,130
19:00:30.629 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:00:31.102 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
19:00:31.614 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:00:31.664 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
19:00:32.152 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:00:32.201 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
19:00:32.649 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
19:00:32.852 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
19:00:32.973 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
19:00:33.029 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
19:00:33.069 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
19:00:33.141 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
19:00:33.594 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:00:33.719 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
19:00:33.720 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
19:00:33.753 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
19:00:33.796 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
19:00:33.797 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
19:00:33.902 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:00:33.903 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
19:00:33.967 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:00:33.968 DEBUG _uinput:332 - Tapping at: 687,1208
19:00:34.070 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:00:34.339 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
19:00:35.122 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:00:35.212 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
19:00:36.014 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
19:00:36.123 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
19:00:36.204 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:00:36.205 DEBUG _uinput:332 - Tapping at: 99,709
19:00:36.308 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:00:36.440 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
19:00:37.260 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:00:37.359 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
19:00:38.151 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:00:38.152 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
19:00:38.197 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'millimetersOption'}
19:00:38.401 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:00:38.402 DEBUG _uinput:332 - Tapping at: 384,709
19:00:38.620 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:00:38.727 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
19:00:39.544 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:00:39.545 DEBUG _uinput:332 - Tapping at: 642,130
19:00:39.649 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:00:40.063 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
19:00:40.592 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:00:40.643 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
19:00:41.122 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:00:41.197 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
19:00:41.652 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
19:00:41.857 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
19:00:41.963 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
19:00:42.010 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
19:00:42.050 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
19:00:42.090 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
19:00:42.304 INFO testcase:540 - waiting for process to exit.
19:00:42.305 INFO testcase:542 - Killing process 3240
19:00:43.318 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_precipitation_scale(with touch)
ADB_RC=0
command_type
testcase_test