Testcase: test_settings.TestSettings.test_switch_wind_scale

Build #:120:20140109.1:20140107.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/tmphY15uW/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

21:19:27.803 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu3
21:19:27.827 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
21:19:27.829 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
21:19:27.833 DEBUG __init__:172 - Creating locations and settings tables
21:19:27.834 DEBUG __init__:142 - Executing sql
21:19:27.835 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
21:19:27.838 DEBUG __init__:142 - Executing sql
21:19:27.839 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
21:19:27.841 DEBUG test_settings:25 - Adding fake data to new database
21:19:27.842 DEBUG __init__:182 - Adding locations to database
21:19:27.900 DEBUG __init__:191 - Adding units to database
21:19:27.901 DEBUG __init__:142 - Executing sql
21:19:27.902 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
21:19:28.305 INFO globals:56 - ************************************************************
21:19:28.310 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale (with touch)
21:19:28.314 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
21:19:28.475 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
21:19:28.476 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
21:19:32.318 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5681
21:19:33.804 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
21:19:33.883 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:33.935 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:19:34.470 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:34.518 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
21:19:34.961 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
21:19:35.152 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:19:35.239 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:19:35.278 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:19:35.318 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:19:35.376 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:19:35.748 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:35.800 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:19:35.801 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
21:19:35.835 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:19:35.891 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
21:19:35.892 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
21:19:36.016 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:19:36.017 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:19:36.089 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:19:36.090 DEBUG _uinput:332 - Tapping at: 687,1208
21:19:36.194 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:36.602 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
21:19:37.413 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:37.482 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
21:19:38.344 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:19:38.417 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:19:38.572 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:19:38.576 DEBUG _uinput:332 - Tapping at: 384,528
21:19:38.685 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:38.753 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:19:39.562 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:39.671 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:19:40.445 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:19:40.446 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:19:40.508 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:19:40.643 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:19:40.645 DEBUG _uinput:332 - Tapping at: 99,636
21:19:40.839 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:40.912 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
21:19:41.721 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:19:41.722 DEBUG _uinput:332 - Tapping at: 642,130
21:19:41.825 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:42.215 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
21:19:42.740 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:42.810 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:19:43.323 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:43.404 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
21:19:43.921 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
21:19:44.119 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:19:44.262 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:19:44.299 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:19:44.344 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:19:44.412 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:19:44.865 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:44.956 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:19:44.956 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
21:19:45.011 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:19:45.054 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
21:19:45.055 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
21:19:45.146 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:19:45.147 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:19:45.209 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:19:45.210 DEBUG _uinput:332 - Tapping at: 687,1208
21:19:45.313 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:45.609 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
21:19:46.439 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:46.507 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
21:19:47.348 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:19:47.401 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:19:47.466 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:19:47.467 DEBUG _uinput:332 - Tapping at: 99,528
21:19:47.573 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:47.661 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:19:48.456 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:48.531 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:19:49.381 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:19:49.385 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:19:49.442 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'kmhOption'}
21:19:49.650 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:19:49.651 DEBUG _uinput:332 - Tapping at: 384,528
21:19:49.844 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:49.925 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
21:19:50.695 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:19:50.696 DEBUG _uinput:332 - Tapping at: 642,130
21:19:50.800 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:51.200 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
21:19:51.776 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:51.831 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:19:52.328 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:52.378 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
21:19:52.844 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
21:19:53.020 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:19:53.144 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:19:53.229 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:19:53.297 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:19:53.398 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:19:53.625 INFO testcase:540 - waiting for process to exit.
21:19:53.626 INFO testcase:542 - Killing process 5681
21:19:54.642 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale(with touch)
ADB_RC=0
command_type
testcase_test