Testcase: test_settings.TestSettings.test_switch_wind_scale

Build #:143:20140122.1: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/tmphf6F36/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:54:05.141 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu4
21:54:05.163 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
21:54:05.165 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
21:54:05.168 DEBUG __init__:172 - Creating locations and settings tables
21:54:05.168 DEBUG __init__:142 - Executing sql
21:54:05.169 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
21:54:05.171 DEBUG __init__:142 - Executing sql
21:54:05.171 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
21:54:05.172 DEBUG test_settings:25 - Adding fake data to new database
21:54:05.173 DEBUG __init__:182 - Adding locations to database
21:54:05.237 DEBUG __init__:191 - Adding units to database
21:54:05.237 DEBUG __init__:142 - Executing sql
21:54:05.238 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
21:54:05.622 INFO globals:56 - ************************************************************
21:54:05.622 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale (with touch)
21:54:05.623 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
21:54:05.763 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
21:54:05.764 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
21:54:09.692 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 11434
21:54:10.706 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
21:54:10.852 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:54:10.919 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:54:11.494 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:54:11.568 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
21:54:12.134 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
21:54:12.342 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:54:12.434 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:54:12.474 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:54:12.522 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:54:12.564 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:54:12.760 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:54:12.816 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:54:12.817 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
21:54:12.848 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:54:12.889 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
21:54:12.890 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
21:54:12.986 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:54:12.987 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:54:13.111 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:54:13.111 DEBUG _uinput:332 - Tapping at: 687,1208
21:54:13.213 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:54:13.704 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
21:54:14.457 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:54:14.543 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
21:54:15.379 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:54:15.427 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:54:15.546 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:54:15.549 DEBUG _uinput:332 - Tapping at: 384,528
21:54:15.654 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:54:15.740 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:54:16.586 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:54:16.661 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:54:17.519 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:54:17.520 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:54:17.618 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:54:17.711 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:54:17.712 DEBUG _uinput:332 - Tapping at: 99,636
21:54:17.897 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:54:17.967 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
21:54:18.864 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:54:18.865 DEBUG _uinput:332 - Tapping at: 642,130
21:54:18.968 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:54:19.464 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
21:54:20.019 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:54:20.069 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:54:20.555 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:54:20.653 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
21:54:21.158 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
21:54:21.373 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:54:21.475 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:54:21.516 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:54:21.555 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:54:21.621 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:54:21.873 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:54:22.006 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:54:22.008 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
21:54:22.087 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:54:22.208 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
21:54:22.212 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
21:54:22.328 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:54:22.329 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:54:22.445 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:54:22.447 DEBUG _uinput:332 - Tapping at: 687,1208
21:54:22.550 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:54:22.872 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
21:54:23.715 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:54:23.796 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
21:54:24.709 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:54:24.781 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:54:24.846 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:54:24.846 DEBUG _uinput:332 - Tapping at: 99,528
21:54:24.948 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:54:25.010 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:54:25.794 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:54:25.872 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:54:26.819 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:54:26.820 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:54:26.867 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'kmhOption'}
21:54:27.018 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:54:27.019 DEBUG _uinput:332 - Tapping at: 384,528
21:54:27.194 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:54:27.253 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
21:54:28.102 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:54:28.104 DEBUG _uinput:332 - Tapping at: 642,130
21:54:28.206 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:54:28.591 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
21:54:29.108 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:54:29.164 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:54:29.682 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:54:29.832 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
21:54:30.307 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
21:54:30.479 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:54:30.618 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:54:30.686 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:54:30.769 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:54:30.835 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:54:31.160 INFO testcase:540 - waiting for process to exit.
21:54:31.162 INFO testcase:542 - Killing process 11434
21:54:32.178 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale(with touch)
ADB_RC=0
command_type
testcase_test