Testcase: test_settings.TestSettings.test_switch_scale

Build #:156:20140131: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/tmpG0AaUa/testsuites/ubuntu-weather-app-autopilot
returncode
0
command
autopilot-run ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale
stdout
ADB_RC=0
07:37:08.813 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

07:37:09.195 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
07:37:09.197 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
07:37:09.200 DEBUG __init__:172 - Creating locations and settings tables
07:37:09.201 DEBUG __init__:142 - Executing sql
07:37:09.201 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
07:37:09.203 DEBUG __init__:142 - Executing sql
07:37:09.203 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
07:37:09.204 DEBUG test_settings:25 - Adding fake data to new database
07:37:09.205 DEBUG __init__:182 - Adding locations to database
07:37:09.270 DEBUG __init__:191 - Adding units to database
07:37:09.270 DEBUG __init__:142 - Executing sql
07:37:09.271 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
07:37:09.668 INFO globals:56 - ************************************************************
07:37:09.669 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale (with touch)
07:37:09.669 WARNING testcase:113 - No tracing available - install the python-autopilot-trace package!
07:37:09.813 WARNING testcase:149 - Process manager backend unavailable, application snapshot support disabled.
07:37:09.814 DEBUG __init__:66 - Running via click package
07:37:12.526 INFO _launcher:81 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5199
07:37:14.458 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
07:37:14.554 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:14.616 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:37:15.141 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:15.192 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:37:15.626 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:37:15.814 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:37:15.974 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:37:16.175 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:16.224 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:37:16.226 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:37:16.258 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:37:16.299 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:37:16.300 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:37:16.390 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:37:16.391 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:37:16.451 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:37:16.453 DEBUG _uinput:332 - Tapping at: 687,1208
07:37:16.554 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:16.976 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:37:17.779 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:17.838 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:37:18.613 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:37:18.673 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:37:18.782 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:37:18.783 DEBUG _uinput:332 - Tapping at: 384,347
07:37:18.889 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:18.983 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:37:19.773 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:19.885 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:37:20.654 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:37:20.655 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:37:20.758 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:37:20.876 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:37:20.877 DEBUG _uinput:332 - Tapping at: 99,455
07:37:21.060 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:21.142 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
07:37:21.932 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:37:21.932 DEBUG _uinput:332 - Tapping at: 642,130
07:37:22.034 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:22.527 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
07:37:23.060 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:23.111 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:37:23.621 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:23.670 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:37:24.163 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:37:24.329 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:37:24.491 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:37:24.718 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:24.831 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:37:24.832 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:37:24.864 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:37:24.905 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:37:24.906 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:37:25.041 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:37:25.042 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:37:25.105 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:37:25.105 DEBUG _uinput:332 - Tapping at: 687,1208
07:37:25.210 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:25.501 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:37:26.245 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:26.357 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:37:27.194 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:37:27.255 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:37:27.348 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:37:27.349 DEBUG _uinput:332 - Tapping at: 99,347
07:37:27.457 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:27.523 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:37:28.261 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:28.324 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:37:29.093 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:37:29.093 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:37:29.145 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'celsiusOption'}
07:37:29.353 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:37:29.354 DEBUG _uinput:332 - Tapping at: 384,347
07:37:29.511 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:29.615 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
07:37:30.379 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:37:30.380 DEBUG _uinput:332 - Tapping at: 642,130
07:37:30.482 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:30.927 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
07:37:31.491 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:31.544 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:37:32.052 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:32.144 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:37:32.603 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:37:32.778 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:37:32.991 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:37:33.329 INFO _launcher:251 - waiting for process to exit.
07:37:33.331 INFO _launcher:267 - Killing process 5199
07:37:34.400 INFO testresult:43 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale(with touch)
ADB_RC=0
command_type
testcase_test