Testcase: test_settings.TestSettings.test_switch_scale_cancel

Build #:145:20140123.1: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/tmpvbxP1F/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

22:18:53.328 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu4
22:18:53.353 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
22:18:53.355 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
22:18:53.363 DEBUG __init__:172 - Creating locations and settings tables
22:18:53.364 DEBUG __init__:142 - Executing sql
22:18:53.365 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
22:18:53.367 DEBUG __init__:142 - Executing sql
22:18:53.367 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
22:18:53.368 DEBUG test_settings:25 - Adding fake data to new database
22:18:53.371 DEBUG __init__:182 - Adding locations to database
22:18:53.445 DEBUG __init__:191 - Adding units to database
22:18:53.446 DEBUG __init__:142 - Executing sql
22:18:53.446 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
22:18:53.843 INFO globals:56 - ************************************************************
22:18:53.849 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
22:18:53.852 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
22:18:54.006 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
22:18:54.007 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
22:18:57.858 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5160
22:18:59.339 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
22:18:59.478 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:18:59.559 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
22:19:00.106 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:19:00.156 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
22:19:00.600 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
22:19:00.815 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
22:19:01.102 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
22:19:01.509 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:19:01.605 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
22:19:02.063 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:19:02.109 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
22:19:02.533 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
22:19:02.726 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
22:19:02.845 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
22:19:02.882 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
22:19:02.924 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
22:19:02.970 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
22:19:03.273 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:19:03.388 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
22:19:03.390 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
22:19:03.424 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
22:19:03.471 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
22:19:03.471 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
22:19:03.637 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:19:03.639 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
22:19:03.806 DEBUG _uinput:366 - Dragging from 384,1279 to 384,1136
22:19:05.205 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:19:05.206 DEBUG _uinput:332 - Tapping at: 687,1208
22:19:05.316 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:19:05.679 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
22:19:06.447 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:19:06.505 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
22:19:07.349 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
22:19:07.391 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
22:19:07.454 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:19:07.454 DEBUG _uinput:332 - Tapping at: 384,347
22:19:07.558 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:19:07.624 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
22:19:08.429 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:19:08.505 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
22:19:09.308 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:19:09.309 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
22:19:09.352 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
22:19:09.421 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:19:09.421 DEBUG _uinput:332 - Tapping at: 99,455
22:19:09.579 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:19:09.666 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
22:19:10.422 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:19:10.523 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
22:19:11.336 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:19:11.337 DEBUG _uinput:332 - Tapping at: 384,491
22:19:11.438 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:19:11.516 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
22:19:12.352 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:19:12.422 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
22:19:13.189 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:19:13.190 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
22:19:13.242 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
22:19:13.343 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:19:13.344 DEBUG _uinput:332 - Tapping at: 99,636
22:19:13.505 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:19:13.571 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'cancelButton'}
22:19:14.367 DEBUG _common:35 - Moving to object's globalRect coordinates.
22:19:14.368 DEBUG _uinput:332 - Tapping at: 126,130
22:19:14.470 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:19:14.542 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
22:19:15.344 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:19:15.410 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
22:19:15.852 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
22:19:16.021 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
22:19:16.194 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
22:19:16.416 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:19:16.467 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
22:19:16.946 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
22:19:17.065 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
22:19:17.579 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
22:19:17.760 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
22:19:17.898 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
22:19:17.938 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
22:19:17.976 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
22:19:18.013 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
22:19:18.179 INFO testcase:540 - waiting for process to exit.
22:19:18.180 INFO testcase:542 - Killing process 5160
22:19:19.197 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
ADB_RC=0
command_type
testcase_test