Testcase: test_settings.TestSettings.test_switch_wind_scale

Build #:74:20131218.1:20131211.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/tmpbx3GEs/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

17:02:25.049 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu2
17:02:25.073 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
17:02:25.075 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
17:02:25.078 DEBUG __init__:172 - Creating locations and settings tables
17:02:25.079 DEBUG __init__:142 - Executing sql
17:02:25.080 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
17:02:25.082 DEBUG __init__:142 - Executing sql
17:02:25.083 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
17:02:25.084 DEBUG test_settings:25 - Adding fake data to new database
17:02:25.085 DEBUG __init__:182 - Adding locations to database
17:02:25.136 DEBUG __init__:191 - Adding units to database
17:02:25.137 DEBUG __init__:142 - Executing sql
17:02:25.138 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
17:02:25.539 INFO globals:56 - ************************************************************
17:02:25.544 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale (with touch)
17:02:25.549 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
17:02:25.715 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
17:02:25.717 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
17:02:28.572 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5837
17:02:30.484 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
17:02:30.550 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:30.615 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
17:02:31.195 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:31.248 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
17:02:31.701 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
17:02:31.876 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
17:02:31.962 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
17:02:32.026 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
17:02:32.092 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
17:02:32.182 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
17:02:32.448 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:32.500 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:02:32.502 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
17:02:32.555 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:02:32.601 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
17:02:32.601 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
17:02:32.693 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:02:32.695 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:02:32.756 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:02:32.757 DEBUG _uinput:332 - Tapping at: 687,1208
17:02:32.861 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:33.207 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
17:02:33.956 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:34.067 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
17:02:34.840 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:02:34.900 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:02:34.989 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:02:34.990 DEBUG _uinput:332 - Tapping at: 384,528
17:02:35.093 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:35.228 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
17:02:35.980 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:36.049 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
17:02:36.827 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:02:36.827 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:02:36.876 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:02:36.959 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:02:36.960 DEBUG _uinput:332 - Tapping at: 99,636
17:02:37.152 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:37.215 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
17:02:37.979 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:02:37.980 DEBUG _uinput:332 - Tapping at: 642,130
17:02:38.085 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:38.538 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
17:02:39.029 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:39.080 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
17:02:39.566 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:39.637 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
17:02:40.115 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
17:02:40.276 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
17:02:40.384 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
17:02:40.427 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
17:02:40.473 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
17:02:40.537 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
17:02:40.849 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:40.992 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:02:40.994 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
17:02:41.027 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:02:41.074 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
17:02:41.075 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
17:02:41.227 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:02:41.228 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:02:41.293 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:02:41.294 DEBUG _uinput:332 - Tapping at: 687,1208
17:02:41.396 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:41.653 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
17:02:42.427 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:42.494 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
17:02:43.315 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:02:43.381 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:02:43.457 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:02:43.458 DEBUG _uinput:332 - Tapping at: 99,528
17:02:43.561 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:43.627 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
17:02:44.373 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:44.459 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
17:02:45.226 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:02:45.229 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:02:45.329 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'kmhOption'}
17:02:45.573 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:02:45.574 DEBUG _uinput:332 - Tapping at: 384,528
17:02:45.743 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:45.823 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
17:02:46.575 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:02:46.576 DEBUG _uinput:332 - Tapping at: 642,130
17:02:46.677 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:47.120 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
17:02:47.643 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:47.699 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
17:02:48.214 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:48.268 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
17:02:48.744 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
17:02:48.914 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
17:02:49.038 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
17:02:49.091 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
17:02:49.143 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
17:02:49.185 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
17:02:49.534 INFO testcase:540 - waiting for process to exit.
17:02:49.535 INFO testcase:542 - Killing process 5837
17:02:50.550 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale(with touch)
ADB_RC=0
command_type
testcase_test