Testcase: test_settings.TestSettings.test_switch_scale

Build #:75:20131218.2:20131218.2
Arch:mako (Nexus 4)
Release:trusty
Variant:touch
Artifacts
Console Log

Test case data

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

02:55:25.712 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu3
02:55:25.736 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
02:55:25.738 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
02:55:25.743 DEBUG __init__:172 - Creating locations and settings tables
02:55:25.745 DEBUG __init__:142 - Executing sql
02:55:25.746 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
02:55:25.748 DEBUG __init__:142 - Executing sql
02:55:25.748 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
02:55:25.750 DEBUG test_settings:25 - Adding fake data to new database
02:55:25.751 DEBUG __init__:182 - Adding locations to database
02:55:25.789 DEBUG __init__:191 - Adding units to database
02:55:25.790 DEBUG __init__:142 - Executing sql
02:55:25.791 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
02:55:26.198 INFO globals:56 - ************************************************************
02:55:26.199 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
02:55:26.200 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
02:55:26.352 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
02:55:26.353 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
02:55:29.219 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5358
02:55:31.187 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
02:55:31.272 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:31.322 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
02:55:31.911 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:31.963 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
02:55:32.445 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
02:55:32.642 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
02:55:32.853 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
02:55:33.157 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:33.233 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
02:55:33.744 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:33.796 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
02:55:34.244 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
02:55:34.439 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
02:55:34.554 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
02:55:34.640 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
02:55:34.732 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
02:55:34.866 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
02:55:35.168 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:35.274 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
02:55:35.276 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
02:55:35.312 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
02:55:35.359 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
02:55:35.361 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
02:55:35.451 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:55:35.453 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
02:55:35.511 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:55:35.512 DEBUG _uinput:332 - Tapping at: 687,1208
02:55:35.614 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:36.042 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
02:55:36.861 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:36.977 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
02:55:37.859 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:55:37.908 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:55:37.971 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:55:37.972 DEBUG _uinput:332 - Tapping at: 384,347
02:55:38.075 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:38.152 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
02:55:38.925 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:39.002 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
02:55:39.777 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:55:39.778 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:55:39.822 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:55:39.892 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:55:39.893 DEBUG _uinput:332 - Tapping at: 99,455
02:55:40.097 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:40.228 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
02:55:41.018 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:41.089 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
02:55:41.955 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:55:41.956 DEBUG _uinput:332 - Tapping at: 384,491
02:55:42.060 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:42.130 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
02:55:42.911 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:42.997 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
02:55:43.769 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:55:43.770 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:55:43.820 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:55:43.896 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:55:43.897 DEBUG _uinput:332 - Tapping at: 99,636
02:55:44.098 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:44.170 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'cancelButton'}
02:55:44.956 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:55:44.957 DEBUG _uinput:332 - Tapping at: 126,130
02:55:45.061 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:45.154 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
02:55:45.742 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:45.848 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
02:55:46.387 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
02:55:46.594 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
02:55:46.867 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
02:55:47.176 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:47.270 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
02:55:47.799 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:47.853 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
02:55:48.301 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
02:55:48.540 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
02:55:48.679 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
02:55:48.721 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
02:55:48.789 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
02:55:48.940 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
02:55:49.261 INFO testcase:540 - waiting for process to exit.
02:55:49.264 INFO testcase:542 - Killing process 5358
02:55:50.282 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
02:55:50.289 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
02:55:50.296 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
02:55:50.308 DEBUG __init__:172 - Creating locations and settings tables
02:55:50.312 DEBUG __init__:142 - Executing sql
02:55:50.315 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
02:55:50.329 DEBUG __init__:142 - Executing sql
02:55:50.329 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
02:55:50.330 DEBUG test_settings:25 - Adding fake data to new database
02:55:50.331 DEBUG __init__:182 - Adding locations to database
02:55:50.367 DEBUG __init__:191 - Adding units to database
02:55:50.368 DEBUG __init__:142 - Executing sql
02:55:50.369 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
02:55:50.381 INFO globals:56 - ************************************************************
02:55:50.381 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale (with touch)
02:55:50.383 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
02:55:50.388 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
02:55:50.389 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
02:55:54.261 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5457
02:55:55.038 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
02:55:55.128 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:55.257 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
02:55:55.830 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:55.909 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
02:55:56.364 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
02:55:56.559 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
02:55:56.805 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
02:55:57.189 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:57.337 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
02:55:57.341 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
02:55:57.439 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
02:55:57.525 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
02:55:57.526 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
02:55:57.706 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:55:57.707 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
02:55:57.775 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:55:57.776 DEBUG _uinput:332 - Tapping at: 687,1208
02:55:57.879 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:58.269 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
02:55:59.011 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:55:59.071 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
02:55:59.860 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:55:59.910 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:56:00.008 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:56:00.009 DEBUG _uinput:332 - Tapping at: 384,347
02:56:00.110 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:00.242 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
02:56:01.046 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:01.142 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
02:56:01.986 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:56:01.987 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:56:02.040 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:56:02.148 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:56:02.150 DEBUG _uinput:332 - Tapping at: 99,455
02:56:02.323 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:02.427 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
02:56:03.215 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:56:03.216 DEBUG _uinput:332 - Tapping at: 642,130
02:56:03.320 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:03.779 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
02:56:04.334 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:04.395 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
02:56:04.926 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:05.033 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
02:56:05.465 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
02:56:05.642 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
02:56:05.905 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
02:56:06.440 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:06.497 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
02:56:06.497 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
02:56:06.538 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
02:56:06.593 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
02:56:06.594 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
02:56:06.693 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:56:06.694 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
02:56:06.762 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:56:06.763 DEBUG _uinput:332 - Tapping at: 687,1208
02:56:06.865 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:07.151 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
02:56:07.916 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:07.979 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
02:56:08.857 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:56:08.920 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:56:09.016 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:56:09.017 DEBUG _uinput:332 - Tapping at: 99,347
02:56:09.121 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:09.215 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
02:56:09.986 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:10.051 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
02:56:10.852 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:56:10.854 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:56:10.941 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'celsiusOption'}
02:56:11.087 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:56:11.088 DEBUG _uinput:332 - Tapping at: 384,347
02:56:11.258 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:11.314 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
02:56:12.055 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:56:12.056 DEBUG _uinput:332 - Tapping at: 642,130
02:56:12.159 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:12.540 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
02:56:13.088 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:13.172 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
02:56:13.712 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:13.767 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
02:56:14.261 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
02:56:14.437 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
02:56:14.662 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
02:56:15.033 INFO testcase:540 - waiting for process to exit.
02:56:15.033 INFO testcase:542 - Killing process 5457
02:56:16.040 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale(with touch)
ADB_RC=0
command_type
testcase_test