Testcase: test_settings.TestSettings.test_switch_scale

Build #:119:20140109:20140107.1
Arch:mako (Nexus 4)
Release:trusty
Variant:touch
Artifacts
Console Log

Test case data

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

09:31:15.162 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu3
09:31:15.185 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
09:31:15.187 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
09:31:15.190 DEBUG __init__:172 - Creating locations and settings tables
09:31:15.192 DEBUG __init__:142 - Executing sql
09:31:15.193 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
09:31:15.196 DEBUG __init__:142 - Executing sql
09:31:15.196 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
09:31:15.198 DEBUG test_settings:25 - Adding fake data to new database
09:31:15.200 DEBUG __init__:182 - Adding locations to database
09:31:15.264 DEBUG __init__:191 - Adding units to database
09:31:15.265 DEBUG __init__:142 - Executing sql
09:31:15.265 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
09:31:15.678 INFO globals:56 - ************************************************************
09:31:15.683 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
09:31:15.687 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
09:31:15.853 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
09:31:15.854 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
09:31:18.708 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 3703
09:31:20.677 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
09:31:20.739 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:20.854 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
09:31:21.513 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:21.562 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
09:31:22.005 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
09:31:22.173 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
09:31:22.391 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
09:31:22.687 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:22.737 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
09:31:23.293 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:23.344 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
09:31:23.826 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
09:31:23.994 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
09:31:24.097 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
09:31:24.144 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
09:31:24.213 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
09:31:24.305 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
09:31:24.609 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:24.700 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:31:24.700 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
09:31:24.732 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:31:24.821 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
09:31:24.825 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
09:31:24.964 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:31:24.965 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:31:25.035 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:31:25.036 DEBUG _uinput:332 - Tapping at: 687,1208
09:31:25.138 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:25.576 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
09:31:26.332 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:26.404 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
09:31:27.233 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:31:27.284 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:31:27.378 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:31:27.379 DEBUG _uinput:332 - Tapping at: 384,347
09:31:27.481 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:27.582 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
09:31:28.335 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:28.429 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
09:31:29.253 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:31:29.254 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:31:29.295 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:31:29.366 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:31:29.367 DEBUG _uinput:332 - Tapping at: 99,455
09:31:29.552 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:29.615 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
09:31:30.399 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:30.482 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
09:31:31.365 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:31:31.367 DEBUG _uinput:332 - Tapping at: 384,491
09:31:31.470 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:31.544 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
09:31:32.305 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:32.377 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
09:31:33.175 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:31:33.176 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:31:33.225 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:31:33.318 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:31:33.321 DEBUG _uinput:332 - Tapping at: 99,636
09:31:33.506 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:33.602 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'cancelButton'}
09:31:34.454 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:31:34.455 DEBUG _uinput:332 - Tapping at: 126,130
09:31:34.557 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:34.629 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
09:31:35.467 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:35.519 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
09:31:35.970 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
09:31:36.153 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
09:31:36.421 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
09:31:36.639 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:36.690 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
09:31:37.246 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:37.297 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
09:31:37.806 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
09:31:38.010 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
09:31:38.126 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
09:31:38.199 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
09:31:38.301 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
09:31:38.426 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
09:31:38.858 INFO testcase:540 - waiting for process to exit.
09:31:38.863 INFO testcase:542 - Killing process 3703
09:31:39.881 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
09:31:39.889 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
09:31:39.894 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
09:31:39.905 DEBUG __init__:172 - Creating locations and settings tables
09:31:39.909 DEBUG __init__:142 - Executing sql
09:31:39.911 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
09:31:39.919 DEBUG __init__:142 - Executing sql
09:31:39.921 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
09:31:39.928 DEBUG test_settings:25 - Adding fake data to new database
09:31:39.928 DEBUG __init__:182 - Adding locations to database
09:31:39.976 DEBUG __init__:191 - Adding units to database
09:31:39.977 DEBUG __init__:142 - Executing sql
09:31:39.978 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
09:31:39.991 INFO globals:56 - ************************************************************
09:31:39.992 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale (with touch)
09:31:39.993 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
09:31:39.998 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
09:31:39.999 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
09:31:42.846 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 3810
09:31:44.746 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
09:31:44.830 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:44.892 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
09:31:45.474 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:45.524 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
09:31:45.968 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
09:31:46.147 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
09:31:46.439 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
09:31:46.948 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:47.052 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:31:47.055 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
09:31:47.106 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:31:47.154 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
09:31:47.155 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
09:31:47.300 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:31:47.301 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:31:47.380 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:31:47.380 DEBUG _uinput:332 - Tapping at: 687,1208
09:31:47.484 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:47.850 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
09:31:48.638 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:48.696 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
09:31:49.560 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:31:49.607 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:31:49.674 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:31:49.675 DEBUG _uinput:332 - Tapping at: 384,347
09:31:49.778 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:49.889 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
09:31:50.689 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:50.773 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
09:31:51.565 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:31:51.566 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:31:51.647 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:31:51.723 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:31:51.724 DEBUG _uinput:332 - Tapping at: 99,455
09:31:51.899 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:51.973 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
09:31:52.810 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:31:52.811 DEBUG _uinput:332 - Tapping at: 642,130
09:31:52.919 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:53.373 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
09:31:53.917 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:53.970 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
09:31:54.530 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:54.606 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
09:31:55.052 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
09:31:55.236 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
09:31:55.480 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
09:31:55.755 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:55.846 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:31:55.848 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
09:31:55.962 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:31:56.031 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
09:31:56.032 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
09:31:56.165 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:31:56.166 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:31:56.299 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:31:56.303 DEBUG _uinput:332 - Tapping at: 687,1208
09:31:56.411 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:56.682 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
09:31:57.466 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:57.567 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
09:31:58.424 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:31:58.497 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:31:58.633 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:31:58.633 DEBUG _uinput:332 - Tapping at: 99,347
09:31:58.736 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:58.838 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
09:31:59.632 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:31:59.726 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
09:32:00.553 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:32:00.554 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:32:00.639 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'celsiusOption'}
09:32:00.853 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:32:00.854 DEBUG _uinput:332 - Tapping at: 384,347
09:32:01.018 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:32:01.079 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
09:32:01.879 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:32:01.880 DEBUG _uinput:332 - Tapping at: 642,130
09:32:01.982 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:32:02.400 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
09:32:02.966 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:32:03.021 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
09:32:03.568 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:32:03.652 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
09:32:04.088 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
09:32:04.284 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
09:32:04.646 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
09:32:04.916 INFO testcase:540 - waiting for process to exit.
09:32:04.917 INFO testcase:542 - Killing process 3810
09:32:05.927 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale(with touch)
ADB_RC=0
command_type
testcase_test