Testcase: test_settings.TestSettings.test_switch_scale

Build #:142:20140122: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/tmpU5tDd3/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:14:10.379 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu4
07:14:10.401 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
07:14:10.403 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
07:14:10.405 DEBUG __init__:172 - Creating locations and settings tables
07:14:10.406 DEBUG __init__:142 - Executing sql
07:14:10.407 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
07:14:10.409 DEBUG __init__:142 - Executing sql
07:14:10.409 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
07:14:10.410 DEBUG test_settings:25 - Adding fake data to new database
07:14:10.411 DEBUG __init__:182 - Adding locations to database
07:14:10.477 DEBUG __init__:191 - Adding units to database
07:14:10.478 DEBUG __init__:142 - Executing sql
07:14:10.478 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
07:14:10.863 INFO globals:56 - ************************************************************
07:14:10.864 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
07:14:10.865 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
07:14:11.016 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
07:14:11.017 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
07:14:14.890 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 7353
07:14:16.023 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
07:14:16.121 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:16.215 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:14:16.826 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:16.882 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:14:17.307 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:14:17.501 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:14:17.701 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:14:17.973 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:18.020 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:14:18.464 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:18.512 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:14:18.936 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:14:19.098 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:14:19.182 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:14:19.223 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:14:19.261 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:14:19.300 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:14:19.466 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:19.518 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:14:19.519 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:14:19.579 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:14:19.647 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:14:19.649 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:14:19.752 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:14:19.754 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:14:19.822 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:14:19.823 DEBUG _uinput:332 - Tapping at: 687,1208
07:14:19.926 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:20.354 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:14:21.173 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:21.240 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:14:22.075 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:14:22.157 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:14:22.221 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:14:22.222 DEBUG _uinput:332 - Tapping at: 384,347
07:14:22.324 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:22.401 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:14:23.194 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:23.278 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:14:24.074 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:14:24.075 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:14:24.120 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:14:24.196 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:14:24.197 DEBUG _uinput:332 - Tapping at: 99,455
07:14:24.373 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:24.435 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:14:25.210 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:25.293 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:14:26.167 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:14:26.167 DEBUG _uinput:332 - Tapping at: 384,491
07:14:26.269 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:26.335 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:14:27.103 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:27.164 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:14:27.970 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:14:27.972 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:14:28.029 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:14:28.109 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:14:28.110 DEBUG _uinput:332 - Tapping at: 99,636
07:14:28.274 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:28.341 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'cancelButton'}
07:14:29.108 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:14:29.109 DEBUG _uinput:332 - Tapping at: 126,130
07:14:29.211 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:29.277 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:14:30.072 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:30.160 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:14:30.605 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:14:30.773 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:14:30.956 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:14:31.215 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:31.269 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:14:31.845 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:31.895 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:14:32.330 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:14:32.500 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:14:32.591 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:14:32.634 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:14:32.675 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:14:32.731 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:14:32.906 INFO testcase:540 - waiting for process to exit.
07:14:32.907 INFO testcase:542 - Killing process 7353
07:14:33.921 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
07:14:33.928 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
07:14:33.934 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
07:14:33.945 DEBUG __init__:172 - Creating locations and settings tables
07:14:33.950 DEBUG __init__:142 - Executing sql
07:14:33.952 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
07:14:33.960 DEBUG __init__:142 - Executing sql
07:14:33.963 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
07:14:33.969 DEBUG test_settings:25 - Adding fake data to new database
07:14:33.973 DEBUG __init__:182 - Adding locations to database
07:14:34.034 DEBUG __init__:191 - Adding units to database
07:14:34.035 DEBUG __init__:142 - Executing sql
07:14:34.035 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
07:14:34.048 INFO globals:56 - ************************************************************
07:14:34.048 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale (with touch)
07:14:34.049 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
07:14:34.053 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
07:14:34.055 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
07:14:36.914 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 7461
07:14:38.834 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
07:14:38.933 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:39.004 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:14:39.530 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:39.626 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:14:40.089 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:14:40.261 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:14:40.494 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:14:40.889 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:40.942 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:14:40.943 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:14:40.984 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:14:41.030 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:14:41.031 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:14:41.141 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:14:41.142 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:14:41.321 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:14:41.325 DEBUG _uinput:332 - Tapping at: 687,1208
07:14:41.434 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:41.847 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:14:42.599 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:42.661 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:14:43.471 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:14:43.531 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:14:43.671 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:14:43.672 DEBUG _uinput:332 - Tapping at: 384,347
07:14:43.776 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:43.866 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:14:44.694 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:44.783 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:14:45.568 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:14:45.569 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:14:45.637 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:14:45.756 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:14:45.757 DEBUG _uinput:332 - Tapping at: 99,455
07:14:45.967 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:46.028 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
07:14:46.810 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:14:46.811 DEBUG _uinput:332 - Tapping at: 642,130
07:14:46.913 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:47.404 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
07:14:47.958 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:48.015 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:14:48.556 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:48.658 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:14:49.148 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:14:49.344 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:14:49.556 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:14:49.829 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:49.885 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:14:49.886 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:14:49.925 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:14:49.977 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:14:49.978 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:14:50.095 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:14:50.096 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:14:50.189 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:14:50.190 DEBUG _uinput:332 - Tapping at: 687,1208
07:14:50.294 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:50.553 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:14:51.305 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:51.389 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:14:52.273 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:14:52.335 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:14:52.451 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:14:52.452 DEBUG _uinput:332 - Tapping at: 99,347
07:14:52.557 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:52.701 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:14:53.545 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:53.625 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:14:54.373 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:14:54.375 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:14:54.468 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'celsiusOption'}
07:14:54.617 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:14:54.618 DEBUG _uinput:332 - Tapping at: 384,347
07:14:54.808 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:54.869 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
07:14:55.653 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:14:55.653 DEBUG _uinput:332 - Tapping at: 642,130
07:14:55.757 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:56.151 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
07:14:56.689 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:56.742 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:14:57.241 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:14:57.305 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:14:57.788 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:14:57.962 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:14:58.175 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:14:58.487 INFO testcase:540 - waiting for process to exit.
07:14:58.488 INFO testcase:542 - Killing process 7461
07:14:59.494 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale(with touch)
ADB_RC=0
command_type
testcase_test