Testcase: test_settings.TestSettings.test_switch_wind_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_wind_scale
testsuite
/tmp/tmp4eSvnm/testsuites/ubuntu-weather-app-autopilot
returncode
0
command
autopilot-run ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale
stdout
ADB_RC=0
Loading tests from: /home/phablet/autopilot

07:26:23.161 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu4
07:26:23.183 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
07:26:23.184 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
07:26:23.187 DEBUG __init__:172 - Creating locations and settings tables
07:26:23.188 DEBUG __init__:142 - Executing sql
07:26:23.188 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
07:26:23.190 DEBUG __init__:142 - Executing sql
07:26:23.190 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
07:26:23.191 DEBUG test_settings:25 - Adding fake data to new database
07:26:23.192 DEBUG __init__:182 - Adding locations to database
07:26:23.249 DEBUG __init__:191 - Adding units to database
07:26:23.250 DEBUG __init__:142 - Executing sql
07:26:23.250 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
07:26:23.648 INFO globals:56 - ************************************************************
07:26:23.650 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale (with touch)
07:26:23.653 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
07:26:23.803 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
07:26:23.804 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
07:26:27.719 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 7881
07:26:28.787 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
07:26:28.872 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:28.975 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:26:29.591 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:29.642 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:26:30.066 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:26:30.242 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:26:30.354 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:26:30.406 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:26:30.447 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:26:30.497 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:26:30.895 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:30.999 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:26:31.000 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:26:31.056 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:26:31.113 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:26:31.114 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:26:31.214 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:31.215 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:26:31.310 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:31.311 DEBUG _uinput:332 - Tapping at: 687,1208
07:26:31.419 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:31.799 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:26:32.553 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:32.610 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:26:33.424 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:26:33.468 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:26:33.542 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:33.543 DEBUG _uinput:332 - Tapping at: 384,528
07:26:33.647 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:33.715 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:26:34.469 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:34.529 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:26:35.300 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:35.302 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:26:35.370 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:26:35.472 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:35.473 DEBUG _uinput:332 - Tapping at: 99,636
07:26:35.664 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:35.723 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
07:26:36.499 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:36.499 DEBUG _uinput:332 - Tapping at: 642,130
07:26:36.601 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:37.021 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
07:26:37.559 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:37.640 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:26:38.133 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:38.182 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:26:38.635 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:26:38.817 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:26:38.938 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:26:38.975 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:26:39.028 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:26:39.121 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:26:39.428 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:39.537 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:26:39.541 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:26:39.654 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:26:39.735 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:26:39.736 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:26:39.923 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:39.924 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:26:40.040 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:40.043 DEBUG _uinput:332 - Tapping at: 687,1208
07:26:40.151 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:40.434 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:26:41.180 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:41.254 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:26:42.038 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:26:42.097 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:26:42.173 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:42.174 DEBUG _uinput:332 - Tapping at: 99,528
07:26:42.279 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:42.336 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:26:43.084 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:43.172 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:26:44.042 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:44.043 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:26:44.108 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'kmhOption'}
07:26:44.339 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:44.340 DEBUG _uinput:332 - Tapping at: 384,528
07:26:44.514 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:44.612 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
07:26:45.395 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:45.396 DEBUG _uinput:332 - Tapping at: 642,130
07:26:45.498 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:45.940 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
07:26:46.483 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:46.535 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:26:47.088 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:47.198 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:26:47.639 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:26:47.837 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:26:47.960 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:26:48.015 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:26:48.067 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:26:48.131 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:26:48.457 INFO testcase:540 - waiting for process to exit.
07:26:48.457 INFO testcase:542 - Killing process 7881
07:26:49.473 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale(with touch)
ADB_RC=0
command_type
testcase_test