Testcase: test_settings.TestSettings.test_switch_wind_scale

Build #:163:20140204.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/tmp5FBRjR/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
23:39:43.237 INFO run:62 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20140123.1-0ubuntu1
Loading tests from: /home/phablet/autopilot

23:39:43.605 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
23:39:43.606 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
23:39:43.609 DEBUG __init__:172 - Creating locations and settings tables
23:39:43.609 DEBUG __init__:142 - Executing sql
23:39:43.610 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
23:39:43.612 DEBUG __init__:142 - Executing sql
23:39:43.612 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
23:39:43.613 DEBUG test_settings:25 - Adding fake data to new database
23:39:43.614 DEBUG __init__:182 - Adding locations to database
23:39:43.668 DEBUG __init__:191 - Adding units to database
23:39:43.668 DEBUG __init__:142 - Executing sql
23:39:43.669 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
23:39:43.996 INFO globals:56 - ************************************************************
23:39:43.997 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale (with touch)
23:39:43.998 WARNING testcase:113 - No tracing available - install the python-autopilot-trace package!
23:39:44.141 WARNING testcase:149 - Process manager backend unavailable, application snapshot support disabled.
23:39:44.141 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
23:39:47.969 INFO _launcher:81 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 6527
23:39:49.367 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
23:39:49.435 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:49.487 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
23:39:50.018 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:50.077 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
23:39:50.556 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
23:39:50.732 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
23:39:50.837 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
23:39:50.914 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
23:39:50.981 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
23:39:51.019 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
23:39:51.225 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:51.285 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:39:51.286 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
23:39:51.317 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:39:51.359 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
23:39:51.360 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
23:39:51.505 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:39:51.506 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:39:51.564 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:39:51.565 DEBUG _uinput:332 - Tapping at: 687,1208
23:39:51.668 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:52.040 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
23:39:52.803 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:52.874 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
23:39:53.709 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
23:39:53.766 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
23:39:53.831 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:39:53.832 DEBUG _uinput:332 - Tapping at: 384,528
23:39:53.933 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:54.024 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
23:39:54.803 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:54.891 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
23:39:55.643 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:39:55.644 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
23:39:55.688 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
23:39:55.764 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:39:55.765 DEBUG _uinput:332 - Tapping at: 99,636
23:39:55.949 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:56.092 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
23:39:56.970 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:39:56.974 DEBUG _uinput:332 - Tapping at: 642,130
23:39:57.077 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:57.587 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
23:39:58.141 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:58.194 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
23:39:58.676 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:58.730 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
23:39:59.169 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
23:39:59.333 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
23:39:59.421 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
23:39:59.463 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
23:39:59.512 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
23:39:59.558 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
23:39:59.724 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:59.774 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:39:59.775 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
23:39:59.808 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:39:59.851 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
23:39:59.852 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
23:39:59.943 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:39:59.944 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:40:00.004 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:40:00.005 DEBUG _uinput:332 - Tapping at: 687,1208
23:40:00.109 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:40:00.376 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
23:40:01.156 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:40:01.231 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
23:40:02.028 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
23:40:02.077 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
23:40:02.178 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:40:02.179 DEBUG _uinput:332 - Tapping at: 99,528
23:40:02.283 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:40:02.354 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
23:40:03.139 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:40:03.235 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
23:40:04.001 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:40:04.003 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
23:40:04.052 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'kmhOption'}
23:40:04.201 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:40:04.202 DEBUG _uinput:332 - Tapping at: 384,528
23:40:04.409 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:40:04.505 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
23:40:05.291 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:40:05.296 DEBUG _uinput:332 - Tapping at: 642,130
23:40:05.400 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:40:05.840 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
23:40:06.403 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:40:06.466 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
23:40:06.992 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:40:07.053 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
23:40:07.488 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
23:40:07.653 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
23:40:07.741 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
23:40:07.783 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
23:40:07.824 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
23:40:07.883 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
23:40:08.157 INFO _launcher:251 - waiting for process to exit.
23:40:08.158 INFO _launcher:267 - Killing process 6527
23:40:09.223 INFO testresult:43 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale(with touch)
ADB_RC=0
command_type
testcase_test