Testcase: test_settings.TestSettings.test_switch_scale

Build #:149:20140127: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/tmpoiPARJ/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:26:09.324 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu4
07:26:09.348 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
07:26:09.350 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
07:26:09.353 DEBUG __init__:172 - Creating locations and settings tables
07:26:09.354 DEBUG __init__:142 - Executing sql
07:26:09.355 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
07:26:09.357 DEBUG __init__:142 - Executing sql
07:26:09.358 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
07:26:09.360 DEBUG test_settings:25 - Adding fake data to new database
07:26:09.361 DEBUG __init__:182 - Adding locations to database
07:26:09.422 DEBUG __init__:191 - Adding units to database
07:26:09.423 DEBUG __init__:142 - Executing sql
07:26:09.423 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
07:26:09.829 INFO globals:56 - ************************************************************
07:26:09.832 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
07:26:09.834 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
07:26:09.973 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
07:26:09.973 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
07:26:13.827 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5209
07:26:14.793 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
07:26:14.910 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:15.029 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:26:15.622 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:15.679 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:26:16.128 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:26:16.299 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:26:16.465 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:26:16.742 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:16.858 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:26:17.300 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:17.348 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:26:17.777 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:26:17.947 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:26:18.037 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:26:18.077 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:26:18.117 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:26:18.157 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:26:18.349 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:18.402 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:26:18.403 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:26:18.443 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:26:18.487 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:26:18.488 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:26:18.584 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:18.586 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:26:18.647 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:18.648 DEBUG _uinput:332 - Tapping at: 687,1208
07:26:18.753 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:19.165 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:26:19.987 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:20.063 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:26:20.947 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:26:21.038 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:26:21.117 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:21.118 DEBUG _uinput:332 - Tapping at: 384,347
07:26:21.220 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:21.313 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:26:22.088 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:22.208 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:26:22.965 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:22.966 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:26:23.007 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:26:23.082 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:23.084 DEBUG _uinput:332 - Tapping at: 99,455
07:26:23.252 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:23.321 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:26:24.101 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:24.191 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:26:25.030 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:25.031 DEBUG _uinput:332 - Tapping at: 384,491
07:26:25.133 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:25.194 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:26:25.956 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:26.035 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:26:26.792 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:26.793 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:26:26.840 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:26:26.952 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:26.953 DEBUG _uinput:332 - Tapping at: 99,636
07:26:27.155 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:27.242 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'cancelButton'}
07:26:28.025 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:28.027 DEBUG _uinput:332 - Tapping at: 126,130
07:26:28.130 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:28.191 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:26:29.028 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:29.082 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:26:29.518 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:26:29.684 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:26:29.854 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:26:30.095 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:30.183 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:26:30.711 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:30.782 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:26:31.278 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:26:31.459 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:26:31.603 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:26:31.647 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:26:31.700 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:26:31.740 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:26:31.914 INFO testcase:540 - waiting for process to exit.
07:26:31.915 INFO testcase:542 - Killing process 5209
07:26:32.930 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
07:26:32.936 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
07:26:32.944 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
07:26:32.961 DEBUG __init__:172 - Creating locations and settings tables
07:26:32.966 DEBUG __init__:142 - Executing sql
07:26:32.969 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
07:26:32.977 DEBUG __init__:142 - Executing sql
07:26:32.980 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
07:26:32.986 DEBUG test_settings:25 - Adding fake data to new database
07:26:32.990 DEBUG __init__:182 - Adding locations to database
07:26:33.089 DEBUG __init__:191 - Adding units to database
07:26:33.090 DEBUG __init__:142 - Executing sql
07:26:33.090 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
07:26:33.131 INFO globals:56 - ************************************************************
07:26:33.132 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale (with touch)
07:26:33.133 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
07:26:33.137 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
07:26:33.138 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
07:26:37.038 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5326
07:26:38.140 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
07:26:38.277 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:38.371 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:26:38.940 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:39.001 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:26:39.452 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:26:39.624 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:26:39.802 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:26:40.046 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:40.101 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:26:40.102 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:26:40.152 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:26:40.196 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:26:40.197 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:26:40.290 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:40.291 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:26:40.354 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:40.355 DEBUG _uinput:332 - Tapping at: 687,1208
07:26:40.457 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:40.854 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:26:41.613 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:41.679 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:26:42.548 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:26:42.628 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:26:42.696 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:42.697 DEBUG _uinput:332 - Tapping at: 384,347
07:26:42.800 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:42.901 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:26:43.661 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:43.733 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:26:44.528 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:44.529 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:26:44.575 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:26:44.649 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:44.650 DEBUG _uinput:332 - Tapping at: 99,455
07:26:44.863 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:44.936 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
07:26:45.717 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:45.718 DEBUG _uinput:332 - Tapping at: 642,130
07:26:45.819 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:46.220 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
07:26:46.791 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:46.865 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:26:47.400 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:47.453 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:26:47.908 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:26:48.069 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:26:48.231 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:26:48.445 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:48.503 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:26:48.504 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:26:48.539 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:26:48.586 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:26:48.587 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:26:48.685 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:48.686 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:26:48.754 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:48.756 DEBUG _uinput:332 - Tapping at: 687,1208
07:26:48.858 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:49.141 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:26:49.947 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:50.007 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:26:50.873 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:26:50.957 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:26:51.044 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:51.045 DEBUG _uinput:332 - Tapping at: 99,347
07:26:51.148 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:51.237 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:26:52.014 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:52.110 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:26:52.868 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:52.869 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:26:52.959 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'celsiusOption'}
07:26:53.105 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:53.106 DEBUG _uinput:332 - Tapping at: 384,347
07:26:53.290 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:53.350 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
07:26:54.139 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:54.143 DEBUG _uinput:332 - Tapping at: 642,130
07:26:54.249 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:54.664 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
07:26:55.265 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:55.315 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:26:55.820 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:55.874 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:26:56.373 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:26:56.572 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:26:56.925 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:26:57.163 INFO testcase:540 - waiting for process to exit.
07:26:57.165 INFO testcase:542 - Killing process 5326
07:26:58.170 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale(with touch)
ADB_RC=0
command_type
testcase_test