Testcase: test_settings.TestSettings.test_switch_scale_cancel

Build #:147:20140125: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/tmpQBgVV1/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
Loading tests from: /home/phablet/autopilot

07:28:52.952 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu4
07:28:52.974 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
07:28:52.976 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
07:28:52.979 DEBUG __init__:172 - Creating locations and settings tables
07:28:52.979 DEBUG __init__:142 - Executing sql
07:28:52.980 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
07:28:52.982 DEBUG __init__:142 - Executing sql
07:28:52.982 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
07:28:52.983 DEBUG test_settings:25 - Adding fake data to new database
07:28:52.984 DEBUG __init__:182 - Adding locations to database
07:28:53.053 DEBUG __init__:191 - Adding units to database
07:28:53.054 DEBUG __init__:142 - Executing sql
07:28:53.054 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
07:28:53.414 INFO globals:56 - ************************************************************
07:28:53.415 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
07:28:53.416 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
07:28:53.559 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
07:28:53.561 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
07:28:57.468 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5205
07:28:58.981 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
07:28:59.045 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:28:59.097 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:28:59.686 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:28:59.733 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:29:00.167 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:29:00.383 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:29:00.579 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:29:00.820 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:00.925 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:29:01.369 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:01.416 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:29:01.840 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:29:02.002 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:29:02.087 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:29:02.126 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:29:02.165 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:29:02.203 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:29:02.373 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:02.424 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:29:02.426 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:29:02.465 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:29:02.507 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:29:02.508 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:29:02.600 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:29:02.602 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:29:02.662 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:29:02.663 DEBUG _uinput:332 - Tapping at: 687,1208
07:29:02.767 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:03.165 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:29:03.950 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:04.033 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:29:04.874 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:29:04.922 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:29:04.985 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:29:04.986 DEBUG _uinput:332 - Tapping at: 384,347
07:29:05.089 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:05.187 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:29:06.018 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:06.129 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:29:06.918 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:29:06.918 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:29:07.022 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:29:07.089 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:29:07.090 DEBUG _uinput:332 - Tapping at: 99,455
07:29:07.284 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:07.347 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:29:08.141 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:08.212 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:29:09.092 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:29:09.093 DEBUG _uinput:332 - Tapping at: 384,491
07:29:09.195 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:09.295 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:29:10.058 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:10.145 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:29:10.952 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:29:10.955 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:29:11.006 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:29:11.106 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:29:11.107 DEBUG _uinput:332 - Tapping at: 99,636
07:29:11.280 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:11.347 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'cancelButton'}
07:29:12.164 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:29:12.165 DEBUG _uinput:332 - Tapping at: 126,130
07:29:12.268 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:12.333 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:29:13.200 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:13.253 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:29:13.745 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:29:13.924 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:29:14.173 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:29:14.556 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:14.610 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:29:15.137 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:29:15.186 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:29:15.646 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:29:15.863 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:29:15.952 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:29:15.993 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:29:16.042 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:29:16.121 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:29:16.416 INFO testcase:540 - waiting for process to exit.
07:29:16.419 INFO testcase:542 - Killing process 5205
07:29:17.433 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
ADB_RC=0
command_type
testcase_test