Testcase: test_settings.TestSettings.test_switch_scale

Build #:79:20131220:20131219.2
Arch:mako (Nexus 4)
Release:trusty
Variant:touch
Artifacts
Console Log

Test case data

testcase
test_settings.TestSettings.test_switch_scale
testsuite
/tmp/tmpJ2qJdt/testsuites/ubuntu-weather-app-autopilot
returncode
0
command
autopilot-run ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale
stdout
ADB_RC=0
Loading tests from: /home/phablet/autopilot

06:58:11.090 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu3
06:58:11.113 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
06:58:11.116 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
06:58:11.120 DEBUG __init__:172 - Creating locations and settings tables
06:58:11.121 DEBUG __init__:142 - Executing sql
06:58:11.122 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
06:58:11.125 DEBUG __init__:142 - Executing sql
06:58:11.125 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
06:58:11.127 DEBUG test_settings:25 - Adding fake data to new database
06:58:11.128 DEBUG __init__:182 - Adding locations to database
06:58:11.172 DEBUG __init__:191 - Adding units to database
06:58:11.173 DEBUG __init__:142 - Executing sql
06:58:11.173 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
06:58:11.572 INFO globals:56 - ************************************************************
06:58:11.577 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
06:58:11.581 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
06:58:11.757 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
06:58:11.759 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
06:58:15.619 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5323
06:58:16.577 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
06:58:16.654 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:16.725 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:58:17.320 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:17.370 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:58:17.832 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:58:18.024 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:58:18.205 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:58:18.586 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:18.640 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:58:19.145 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:19.196 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:58:19.662 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:58:19.866 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:58:19.965 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:58:20.001 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:58:20.039 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:58:20.075 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:58:20.481 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:20.530 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:58:20.531 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
06:58:20.563 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:58:20.617 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
06:58:20.619 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
06:58:20.711 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:58:20.713 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:58:20.773 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:58:20.774 DEBUG _uinput:332 - Tapping at: 687,1208
06:58:20.876 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:21.313 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
06:58:22.094 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:22.153 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
06:58:22.947 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:58:23.011 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:58:23.098 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:58:23.099 DEBUG _uinput:332 - Tapping at: 384,347
06:58:23.208 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:23.295 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:58:24.078 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:24.135 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:58:24.911 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:58:24.913 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:58:24.957 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:58:25.024 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:58:25.025 DEBUG _uinput:332 - Tapping at: 99,455
06:58:25.206 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:25.266 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
06:58:26.088 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:26.149 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
06:58:27.042 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:58:27.043 DEBUG _uinput:332 - Tapping at: 384,491
06:58:27.150 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:27.228 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:58:28.006 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:28.085 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:58:28.891 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:58:28.894 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:58:29.005 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:58:29.111 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:58:29.112 DEBUG _uinput:332 - Tapping at: 99,636
06:58:29.294 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:29.366 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'cancelButton'}
06:58:30.136 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:58:30.137 DEBUG _uinput:332 - Tapping at: 126,130
06:58:30.239 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:30.327 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:58:30.919 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:30.973 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:58:31.441 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:58:31.620 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:58:31.800 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:58:32.028 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:32.083 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:58:32.618 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:32.715 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:58:33.166 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:58:33.344 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:58:33.438 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:58:33.482 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:58:33.527 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:58:33.579 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:58:33.765 INFO testcase:540 - waiting for process to exit.
06:58:33.766 INFO testcase:542 - Killing process 5323
06:58:34.782 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
06:58:34.788 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
06:58:34.794 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
06:58:34.804 DEBUG __init__:172 - Creating locations and settings tables
06:58:34.808 DEBUG __init__:142 - Executing sql
06:58:34.814 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
06:58:34.822 DEBUG __init__:142 - Executing sql
06:58:34.825 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
06:58:34.835 DEBUG test_settings:25 - Adding fake data to new database
06:58:34.835 DEBUG __init__:182 - Adding locations to database
06:58:34.884 DEBUG __init__:191 - Adding units to database
06:58:34.885 DEBUG __init__:142 - Executing sql
06:58:34.886 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
06:58:34.897 INFO globals:56 - ************************************************************
06:58:34.898 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale (with touch)
06:58:34.899 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
06:58:34.905 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
06:58:34.906 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
06:58:38.835 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5437
06:58:39.703 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
06:58:39.804 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:39.874 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:58:40.466 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:40.525 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:58:40.973 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:58:41.142 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:58:41.342 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:58:41.680 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:41.792 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:58:41.795 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
06:58:41.869 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:58:41.928 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
06:58:41.929 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
06:58:42.056 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:58:42.057 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:58:42.125 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:58:42.127 DEBUG _uinput:332 - Tapping at: 687,1208
06:58:42.231 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:42.596 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
06:58:43.371 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:43.453 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
06:58:44.368 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:58:44.500 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:58:44.592 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:58:44.593 DEBUG _uinput:332 - Tapping at: 384,347
06:58:44.698 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:44.779 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:58:45.587 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:45.673 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:58:46.546 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:58:46.548 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:58:46.597 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:58:46.706 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:58:46.707 DEBUG _uinput:332 - Tapping at: 99,455
06:58:46.893 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:46.985 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
06:58:47.819 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:58:47.820 DEBUG _uinput:332 - Tapping at: 642,130
06:58:47.922 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:48.400 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
06:58:48.941 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:48.996 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:58:49.548 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:49.608 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:58:50.072 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:58:50.242 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:58:50.461 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:58:50.699 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:50.753 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:58:50.753 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
06:58:50.789 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:58:50.849 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
06:58:50.851 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
06:58:51.006 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:58:51.008 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:58:51.132 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:58:51.134 DEBUG _uinput:332 - Tapping at: 687,1208
06:58:51.251 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:51.551 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
06:58:52.348 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:52.409 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
06:58:53.267 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:58:53.341 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:58:53.424 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:58:53.426 DEBUG _uinput:332 - Tapping at: 99,347
06:58:53.529 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:53.598 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:58:54.407 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:54.487 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:58:55.301 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:58:55.302 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:58:55.391 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'celsiusOption'}
06:58:55.575 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:58:55.578 DEBUG _uinput:332 - Tapping at: 384,347
06:58:55.775 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:55.847 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
06:58:56.647 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:58:56.648 DEBUG _uinput:332 - Tapping at: 642,130
06:58:56.750 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:57.168 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
06:58:57.709 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:57.777 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:58:58.293 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:58:58.365 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:58:58.825 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:58:58.999 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:58:59.199 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:58:59.504 INFO testcase:540 - waiting for process to exit.
06:58:59.506 INFO testcase:542 - Killing process 5437
06:59:00.522 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale(with touch)
ADB_RC=0
command_type
testcase_test