Testcase: test_settings.TestSettings.test_switch_scale

Build #:150:20140128: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/tmpsgTW4G/testsuites/ubuntu-weather-app-autopilot
returncode
0
command
autopilot-run ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale
stdout
ADB_RC=0
09:51:16.388 INFO run:62 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20140123.1-0ubuntu1
Loading tests from: /home/phablet/autopilot

09:51:16.784 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
09:51:16.786 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
09:51:16.790 DEBUG __init__:172 - Creating locations and settings tables
09:51:16.791 DEBUG __init__:142 - Executing sql
09:51:16.792 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
09:51:16.794 DEBUG __init__:142 - Executing sql
09:51:16.795 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
09:51:16.796 DEBUG test_settings:25 - Adding fake data to new database
09:51:16.797 DEBUG __init__:182 - Adding locations to database
09:51:16.849 DEBUG __init__:191 - Adding units to database
09:51:16.850 DEBUG __init__:142 - Executing sql
09:51:16.851 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
09:51:17.230 INFO globals:56 - ************************************************************
09:51:17.236 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale (with touch)
09:51:17.240 WARNING testcase:113 - No tracing available - install the python-autopilot-trace package!
09:51:17.399 WARNING testcase:149 - Process manager backend unavailable, application snapshot support disabled.
09:51:17.400 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
09:51:21.293 INFO _launcher:81 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 3422
09:51:22.605 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
09:51:22.701 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:22.771 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
09:51:23.309 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:23.357 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
09:51:23.810 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
09:51:23.983 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
09:51:24.186 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
09:51:24.395 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:24.453 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:51:24.454 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
09:51:24.511 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:51:24.633 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
09:51:24.638 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
09:51:24.826 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:51:24.827 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:51:24.957 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:51:24.961 DEBUG _uinput:332 - Tapping at: 687,1208
09:51:25.069 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:25.437 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
09:51:26.228 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:26.303 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
09:51:27.130 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:51:27.172 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:51:27.232 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:51:27.233 DEBUG _uinput:332 - Tapping at: 384,347
09:51:27.337 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:27.490 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
09:51:28.276 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:28.369 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
09:51:29.152 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:51:29.153 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:51:29.197 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:51:29.303 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:51:29.303 DEBUG _uinput:332 - Tapping at: 99,455
09:51:29.467 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:29.526 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
09:51:30.331 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:51:30.332 DEBUG _uinput:332 - Tapping at: 642,130
09:51:30.435 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:30.884 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
09:51:31.450 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:31.501 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
09:51:32.051 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:32.123 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
09:51:32.609 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
09:51:32.810 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
09:51:33.007 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
09:51:33.241 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:33.317 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:51:33.321 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
09:51:33.359 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:51:33.400 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
09:51:33.401 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
09:51:33.542 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:51:33.543 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:51:33.604 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:51:33.604 DEBUG _uinput:332 - Tapping at: 687,1208
09:51:33.708 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:34.001 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
09:51:34.798 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:34.878 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
09:51:35.662 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:51:35.727 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:51:35.833 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:51:35.834 DEBUG _uinput:332 - Tapping at: 99,347
09:51:35.939 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:36.040 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
09:51:36.843 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:36.907 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
09:51:37.666 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:51:37.667 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:51:37.718 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'celsiusOption'}
09:51:37.896 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:51:37.896 DEBUG _uinput:332 - Tapping at: 384,347
09:51:38.070 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:38.129 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
09:51:38.950 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:51:38.952 DEBUG _uinput:332 - Tapping at: 642,130
09:51:39.054 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:39.469 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
09:51:40.026 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:40.137 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
09:51:40.658 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:40.729 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
09:51:41.209 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
09:51:41.386 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
09:51:41.563 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
09:51:41.798 INFO _launcher:251 - waiting for process to exit.
09:51:41.799 INFO _launcher:267 - Killing process 3422
09:51:42.872 INFO testresult:43 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale(with touch)
ADB_RC=0
command_type
testcase_test