Testcase: test_settings.TestSettings.test_switch_wind_scale

Build #:73:20131218: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/tmp6qIPGt/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

06:57:37.413 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu2
06:57:37.437 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
06:57:37.439 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
06:57:37.442 DEBUG __init__:172 - Creating locations and settings tables
06:57:37.443 DEBUG __init__:142 - Executing sql
06:57:37.444 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
06:57:37.447 DEBUG __init__:142 - Executing sql
06:57:37.447 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
06:57:37.449 DEBUG test_settings:25 - Adding fake data to new database
06:57:37.450 DEBUG __init__:182 - Adding locations to database
06:57:37.504 DEBUG __init__:191 - Adding units to database
06:57:37.505 DEBUG __init__:142 - Executing sql
06:57:37.506 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
06:57:37.908 INFO globals:56 - ************************************************************
06:57:37.909 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale (with touch)
06:57:37.910 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
06:57:38.063 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
06:57:38.064 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
06:57:40.907 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 3904
06:57:42.915 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
06:57:43.011 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:43.062 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:57:43.574 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:43.621 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:57:44.070 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:57:44.245 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:57:44.347 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:57:44.388 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:57:44.424 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:57:44.461 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:57:44.672 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:44.806 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:57:44.807 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
06:57:44.840 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:57:44.887 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
06:57:44.887 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
06:57:45.003 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:57:45.005 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:57:45.058 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:57:45.059 DEBUG _uinput:332 - Tapping at: 687,1208
06:57:45.163 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:45.535 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
06:57:46.262 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:46.346 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
06:57:47.215 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:57:47.256 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:57:47.328 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:57:47.328 DEBUG _uinput:332 - Tapping at: 384,528
06:57:47.438 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:47.532 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:57:48.283 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:48.359 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:57:49.144 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:57:49.146 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:57:49.194 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:57:49.368 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:57:49.370 DEBUG _uinput:332 - Tapping at: 99,636
06:57:49.567 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:49.663 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
06:57:50.469 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:57:50.470 DEBUG _uinput:332 - Tapping at: 642,130
06:57:50.574 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:51.019 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
06:57:51.850 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:51.927 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:57:52.407 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:52.480 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:57:52.950 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:57:53.141 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:57:53.234 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:57:53.270 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:57:53.312 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:57:53.378 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:57:53.723 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:53.850 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:57:53.852 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
06:57:53.886 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:57:53.934 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
06:57:53.935 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
06:57:54.087 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:57:54.088 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:57:54.149 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:57:54.149 DEBUG _uinput:332 - Tapping at: 687,1208
06:57:54.254 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:54.546 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
06:57:55.342 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:55.408 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
06:57:56.240 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:57:56.309 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:57:56.382 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:57:56.383 DEBUG _uinput:332 - Tapping at: 99,528
06:57:56.485 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:56.578 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:57:57.339 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:57.405 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:57:58.171 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:57:58.172 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:57:58.214 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'kmhOption'}
06:57:58.393 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:57:58.394 DEBUG _uinput:332 - Tapping at: 384,528
06:57:58.612 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:58.676 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
06:57:59.495 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:57:59.496 DEBUG _uinput:332 - Tapping at: 642,130
06:57:59.601 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:00.034 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
06:58:00.560 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:00.638 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:58:01.113 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:01.187 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:58:01.651 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:58:01.829 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:58:01.921 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:58:01.964 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:58:02.008 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:58:02.050 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:58:02.240 INFO testcase:540 - waiting for process to exit.
06:58:02.242 INFO testcase:542 - Killing process 3904
06:58:03.257 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_wind_scale(with touch)
ADB_RC=0
command_type
testcase_test