Testcase: test_settings.TestSettings.test_switch_scale_cancel

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_cancel
testsuite
/tmp/tmpsgTW4G/testsuites/ubuntu-weather-app-autopilot
returncode
0
command
autopilot-run ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel
stdout
ADB_RC=0
09:51:45.316 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:45.707 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
09:51:45.709 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
09:51:45.713 DEBUG __init__:172 - Creating locations and settings tables
09:51:45.714 DEBUG __init__:142 - Executing sql
09:51:45.715 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
09:51:45.717 DEBUG __init__:142 - Executing sql
09:51:45.718 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
09:51:45.719 DEBUG test_settings:25 - Adding fake data to new database
09:51:45.720 DEBUG __init__:182 - Adding locations to database
09:51:45.799 DEBUG __init__:191 - Adding units to database
09:51:45.800 DEBUG __init__:142 - Executing sql
09:51:45.800 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
09:51:46.197 INFO globals:56 - ************************************************************
09:51:46.199 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
09:51:46.202 WARNING testcase:113 - No tracing available - install the python-autopilot-trace package!
09:51:46.383 WARNING testcase:149 - Process manager backend unavailable, application snapshot support disabled.
09:51:46.383 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
09:51:49.258 INFO _launcher:81 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 3572
09:51:51.110 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
09:51:51.173 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:51.221 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
09:51:51.729 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:51.776 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
09:51:52.226 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
09:51:52.393 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
09:51:52.556 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
09:51:52.889 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:52.990 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
09:51:53.480 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:53.533 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
09:51:53.977 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
09:51:54.147 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
09:51:54.237 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
09:51:54.278 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
09:51:54.345 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
09:51:54.382 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
09:51:54.681 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:54.777 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:51:54.778 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
09:51:54.841 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:51:54.943 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
09:51:54.945 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
09:51:55.115 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:51:55.116 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
09:51:55.171 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:51:55.172 DEBUG _uinput:332 - Tapping at: 687,1208
09:51:55.274 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:55.665 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
09:51:56.465 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:56.535 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
09:51:57.325 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:51:57.369 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:51:57.435 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:51:57.436 DEBUG _uinput:332 - Tapping at: 384,347
09:51:57.538 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:57.634 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
09:51:58.397 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:58.458 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
09:51:59.254 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:51:59.255 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:51:59.300 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:51:59.371 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:51:59.372 DEBUG _uinput:332 - Tapping at: 99,455
09:51:59.576 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:51:59.662 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
09:52:00.461 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:52:00.528 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
09:52:01.389 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:52:01.391 DEBUG _uinput:332 - Tapping at: 384,491
09:52:01.493 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:52:01.574 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
09:52:02.397 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:52:02.457 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
09:52:03.260 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:52:03.263 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:52:03.319 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
09:52:03.389 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:52:03.390 DEBUG _uinput:332 - Tapping at: 99,636
09:52:03.576 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:52:03.636 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'cancelButton'}
09:52:04.432 DEBUG _common:35 - Moving to object's globalRect coordinates.
09:52:04.432 DEBUG _uinput:332 - Tapping at: 126,130
09:52:04.536 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:52:04.598 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
09:52:05.427 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:52:05.495 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
09:52:05.969 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
09:52:06.241 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
09:52:06.455 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
09:52:06.826 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:52:06.913 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
09:52:07.446 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
09:52:07.499 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
09:52:07.966 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
09:52:08.211 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
09:52:08.314 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
09:52:08.355 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
09:52:08.396 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
09:52:08.441 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
09:52:08.786 INFO _launcher:251 - waiting for process to exit.
09:52:08.788 INFO _launcher:267 - Killing process 3572
09:52:09.863 INFO testresult:43 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
ADB_RC=0
command_type
testcase_test