Testcase: test_settings.TestSettings.test_switch_wind_scale

Build #:75:20131218.2:20131218.2
Arch:mako (Nexus 4)
Release:trusty
Variant:touch
Artifacts
Console Log

Test case data

testcase
test_settings.TestSettings.test_switch_wind_scale
testsuite
/tmp/tmp08g7TS/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

02:56:44.097 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu3
02:56:44.119 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
02:56:44.120 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
02:56:44.123 DEBUG __init__:172 - Creating locations and settings tables
02:56:44.124 DEBUG __init__:142 - Executing sql
02:56:44.124 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
02:56:44.126 DEBUG __init__:142 - Executing sql
02:56:44.126 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
02:56:44.127 DEBUG test_settings:25 - Adding fake data to new database
02:56:44.128 DEBUG __init__:182 - Adding locations to database
02:56:44.183 DEBUG __init__:191 - Adding units to database
02:56:44.183 DEBUG __init__:142 - Executing sql
02:56:44.184 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
02:56:44.555 INFO globals:56 - ************************************************************
02:56:44.558 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale (with touch)
02:56:44.560 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
02:56:44.713 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
02:56:44.714 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
02:56:47.525 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5737
02:56:49.482 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
02:56:49.565 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:49.622 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
02:56:50.126 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:50.176 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
02:56:50.624 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
02:56:50.815 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
02:56:50.909 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
02:56:50.999 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
02:56:51.070 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
02:56:51.137 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
02:56:51.432 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:51.553 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
02:56:51.554 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
02:56:51.587 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
02:56:51.663 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
02:56:51.663 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
02:56:51.834 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:56:51.840 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
02:56:51.947 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:56:51.948 DEBUG _uinput:332 - Tapping at: 687,1208
02:56:52.050 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:52.426 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
02:56:53.162 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:53.240 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
02:56:54.045 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:56:54.086 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:56:54.156 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:56:54.157 DEBUG _uinput:332 - Tapping at: 384,528
02:56:54.260 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:54.348 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
02:56:55.185 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:55.248 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
02:56:56.036 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:56:56.039 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:56:56.151 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:56:56.220 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:56:56.221 DEBUG _uinput:332 - Tapping at: 99,636
02:56:56.399 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:56.489 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
02:56:57.294 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:56:57.295 DEBUG _uinput:332 - Tapping at: 642,130
02:56:57.397 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:57.799 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
02:56:58.313 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:58.379 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
02:56:58.951 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:58.999 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
02:56:59.436 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
02:56:59.602 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
02:56:59.720 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
02:56:59.796 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
02:56:59.861 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
02:56:59.950 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
02:57:00.224 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:57:00.353 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
02:57:00.354 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
02:57:00.387 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
02:57:00.428 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
02:57:00.429 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
02:57:00.519 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:57:00.520 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
02:57:00.581 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:57:00.581 DEBUG _uinput:332 - Tapping at: 687,1208
02:57:00.683 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:57:00.959 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
02:57:01.693 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:57:01.779 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
02:57:02.572 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:57:02.636 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:57:02.715 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:57:02.716 DEBUG _uinput:332 - Tapping at: 99,528
02:57:02.821 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:57:02.882 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
02:57:03.642 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:57:03.712 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
02:57:04.499 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:57:04.499 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:57:04.543 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'kmhOption'}
02:57:04.777 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:57:04.778 DEBUG _uinput:332 - Tapping at: 384,528
02:57:04.992 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:57:05.058 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
02:57:05.830 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:57:05.831 DEBUG _uinput:332 - Tapping at: 642,130
02:57:05.936 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:57:06.366 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
02:57:06.923 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:57:06.985 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
02:57:07.456 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:57:07.557 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
02:57:07.998 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
02:57:08.178 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
02:57:08.273 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
02:57:08.338 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
02:57:08.482 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
02:57:08.560 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
02:57:08.873 INFO testcase:540 - waiting for process to exit.
02:57:08.874 INFO testcase:542 - Killing process 5737
02:57:09.887 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale(with touch)
ADB_RC=0
command_type
testcase_test