Testcase: test_settings.TestSettings.test_switch_scale

Build #:147:20140125:20140115.1
Arch:mako (Nexus 4)
Release:trusty
Variant:touch
Artifacts
Console Log

Test case data

testcase
test_settings.TestSettings.test_switch_scale
testsuite
/tmp/tmpQBgVV1/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

07:29:19.789 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu4
07:29:19.812 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
07:29:19.814 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
07:29:19.818 DEBUG __init__:172 - Creating locations and settings tables
07:29:19.819 DEBUG __init__:142 - Executing sql
07:29:19.820 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
07:29:19.822 DEBUG __init__:142 - Executing sql
07:29:19.823 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
07:29:19.824 DEBUG test_settings:25 - Adding fake data to new database
07:29:19.825 DEBUG __init__:182 - Adding locations to database
07:29:19.887 DEBUG __init__:191 - Adding units to database
07:29:19.888 DEBUG __init__:142 - Executing sql
07:29:19.888 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
07:29:20.278 INFO globals:56 - ************************************************************
07:29:20.281 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
07:29:20.286 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
07:29:20.459 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
07:29:20.460 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
07:29:23.329 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5346
07:29:25.201 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
07:29:25.271 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:25.336 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:29:25.898 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:25.945 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:29:26.381 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:29:26.564 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:29:26.801 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:29:27.277 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:27.333 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:29:27.799 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:27.886 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:29:28.305 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:29:28.464 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:29:28.551 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:29:28.616 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:29:28.654 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:29:28.698 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:29:28.998 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:29.084 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:29:29.086 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:29:29.129 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:29:29.171 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:29:29.172 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:29:29.298 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:29:29.301 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:29:29.464 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:29:29.465 DEBUG _uinput:332 - Tapping at: 687,1208
07:29:29.567 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:30.051 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:29:30.860 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:30.919 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:29:31.789 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:29:31.834 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:29:31.971 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:29:31.974 DEBUG _uinput:332 - Tapping at: 384,347
07:29:32.079 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:32.164 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:29:32.910 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:32.976 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:29:33.809 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:29:33.811 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:29:33.855 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:29:33.924 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:29:33.925 DEBUG _uinput:332 - Tapping at: 99,455
07:29:34.096 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:34.194 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:29:34.957 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:35.049 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:29:35.924 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:29:35.925 DEBUG _uinput:332 - Tapping at: 384,491
07:29:36.028 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:36.107 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:29:36.876 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:36.944 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:29:37.733 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:29:37.736 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:29:37.825 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:29:37.920 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:29:37.921 DEBUG _uinput:332 - Tapping at: 99,636
07:29:38.133 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:38.220 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'cancelButton'}
07:29:39.033 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:29:39.034 DEBUG _uinput:332 - Tapping at: 126,130
07:29:39.138 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:39.200 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:29:40.045 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:40.095 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:29:40.574 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:29:40.776 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:29:41.017 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:29:41.328 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:41.425 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:29:41.976 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:42.036 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:29:42.540 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:29:42.741 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:29:42.849 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:29:42.895 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:29:42.974 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:29:43.061 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:29:43.365 INFO testcase:540 - waiting for process to exit.
07:29:43.366 INFO testcase:542 - Killing process 5346
07:29:44.385 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
07:29:44.391 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
07:29:44.397 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
07:29:44.408 DEBUG __init__:172 - Creating locations and settings tables
07:29:44.414 DEBUG __init__:142 - Executing sql
07:29:44.417 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
07:29:44.424 DEBUG __init__:142 - Executing sql
07:29:44.427 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
07:29:44.433 DEBUG test_settings:25 - Adding fake data to new database
07:29:44.437 DEBUG __init__:182 - Adding locations to database
07:29:44.497 DEBUG __init__:191 - Adding units to database
07:29:44.498 DEBUG __init__:142 - Executing sql
07:29:44.499 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
07:29:44.512 INFO globals:56 - ************************************************************
07:29:44.513 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale (with touch)
07:29:44.514 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
07:29:44.518 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
07:29:44.519 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
07:29:48.412 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5450
07:29:49.424 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
07:29:49.489 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:49.581 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:29:50.115 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:50.190 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:29:50.650 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:29:50.839 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:29:51.056 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:29:51.290 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:51.341 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:29:51.342 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:29:51.378 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:29:51.437 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:29:51.438 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:29:51.540 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:29:51.542 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:29:51.605 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:29:51.606 DEBUG _uinput:332 - Tapping at: 687,1208
07:29:51.708 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:52.081 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:29:52.916 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:52.972 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:29:53.833 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:29:53.877 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:29:53.948 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:29:53.949 DEBUG _uinput:332 - Tapping at: 384,347
07:29:54.052 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:54.210 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:29:55.036 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:55.111 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:29:55.898 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:29:55.899 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:29:55.949 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:29:56.027 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:29:56.028 DEBUG _uinput:332 - Tapping at: 99,455
07:29:56.206 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:56.294 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
07:29:57.090 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:29:57.091 DEBUG _uinput:332 - Tapping at: 642,130
07:29:57.193 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:57.604 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
07:29:58.145 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:58.199 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:29:58.712 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:58.792 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:29:59.283 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:29:59.463 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:29:59.630 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:29:59.886 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:59.938 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:29:59.940 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:29:59.975 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:30:00.023 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:30:00.024 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:30:00.121 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:30:00.123 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:30:00.200 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:30:00.201 DEBUG _uinput:332 - Tapping at: 687,1208
07:30:00.304 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:00.565 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:30:01.360 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:01.426 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:30:02.264 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:30:02.320 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:30:02.451 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:30:02.452 DEBUG _uinput:332 - Tapping at: 99,347
07:30:02.555 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:02.634 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:30:03.414 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:03.477 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:30:04.276 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:30:04.277 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:30:04.364 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'celsiusOption'}
07:30:04.503 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:30:04.504 DEBUG _uinput:332 - Tapping at: 384,347
07:30:04.698 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:04.758 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
07:30:05.522 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:30:05.523 DEBUG _uinput:332 - Tapping at: 642,130
07:30:05.626 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:06.092 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
07:30:06.613 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:06.661 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:30:07.145 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:30:07.196 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:30:07.642 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:30:07.847 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:30:08.073 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:30:08.411 INFO testcase:540 - waiting for process to exit.
07:30:08.413 INFO testcase:542 - Killing process 5450
07:30:09.426 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale(with touch)
ADB_RC=0
command_type
testcase_test