Testcase: test_settings.TestSettings.test_switch_scale

Build #:152:20140129.1: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/tmpayWqSd/testsuites/ubuntu-weather-app-autopilot
returncode
0
command
autopilot-run ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale
stdout
ADB_RC=0
21:31:36.403 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

21:31:36.793 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
21:31:36.796 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
21:31:36.799 DEBUG __init__:172 - Creating locations and settings tables
21:31:36.801 DEBUG __init__:142 - Executing sql
21:31:36.801 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
21:31:36.803 DEBUG __init__:142 - Executing sql
21:31:36.804 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
21:31:36.806 DEBUG test_settings:25 - Adding fake data to new database
21:31:36.806 DEBUG __init__:182 - Adding locations to database
21:31:36.883 DEBUG __init__:191 - Adding units to database
21:31:36.883 DEBUG __init__:142 - Executing sql
21:31:36.884 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
21:31:37.272 INFO globals:56 - ************************************************************
21:31:37.277 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale (with touch)
21:31:37.281 WARNING testcase:113 - No tracing available - install the python-autopilot-trace package!
21:31:37.450 WARNING testcase:149 - Process manager backend unavailable, application snapshot support disabled.
21:31:37.451 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
21:31:40.287 INFO _launcher:81 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5147
21:31:42.200 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
21:31:42.285 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:42.386 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
21:31:43.013 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:43.067 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
21:31:43.494 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
21:31:43.654 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
21:31:43.891 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
21:31:44.092 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:44.141 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:31:44.142 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
21:31:44.174 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:31:44.215 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
21:31:44.216 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
21:31:44.306 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:31:44.308 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:31:44.376 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:31:44.378 DEBUG _uinput:332 - Tapping at: 687,1208
21:31:44.480 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:44.967 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
21:31:45.719 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:45.791 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
21:31:46.616 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:31:46.667 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:31:46.766 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:31:46.766 DEBUG _uinput:332 - Tapping at: 384,347
21:31:46.872 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:46.955 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:31:47.754 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:47.844 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:31:48.592 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:31:48.593 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:31:48.636 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:31:48.745 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:31:48.748 DEBUG _uinput:332 - Tapping at: 99,455
21:31:48.942 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:49.031 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
21:31:49.847 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:31:49.847 DEBUG _uinput:332 - Tapping at: 642,130
21:31:49.949 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:50.507 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
21:31:51.053 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:51.112 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
21:31:51.625 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:51.713 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
21:31:52.154 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
21:31:52.317 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
21:31:52.479 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
21:31:52.687 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:52.743 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:31:52.744 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
21:31:52.776 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:31:52.820 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
21:31:52.821 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
21:31:52.915 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:31:52.917 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:31:52.979 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:31:52.980 DEBUG _uinput:332 - Tapping at: 687,1208
21:31:53.084 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:53.356 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
21:31:54.202 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:54.262 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
21:31:55.098 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:31:55.146 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:31:55.231 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:31:55.232 DEBUG _uinput:332 - Tapping at: 99,347
21:31:55.334 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:55.436 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:31:56.178 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:56.303 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:31:57.093 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:31:57.094 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:31:57.136 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'celsiusOption'}
21:31:57.294 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:31:57.295 DEBUG _uinput:332 - Tapping at: 384,347
21:31:57.509 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:57.584 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
21:31:58.370 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:31:58.373 DEBUG _uinput:332 - Tapping at: 642,130
21:31:58.475 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:58.910 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
21:31:59.516 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:59.567 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
21:32:00.088 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:32:00.137 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
21:32:00.605 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
21:32:00.783 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
21:32:01.001 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
21:32:01.233 INFO _launcher:251 - waiting for process to exit.
21:32:01.234 INFO _launcher:267 - Killing process 5147
21:32:02.301 INFO testresult:43 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale(with touch)
ADB_RC=0
command_type
testcase_test