Testcase: test_settings.TestSettings.test_switch_scale_cancel

Build #:144:20140123: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/tmpr6vMNJ/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:37:18.877 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu4
07:37:18.899 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
07:37:18.900 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
07:37:18.903 DEBUG __init__:172 - Creating locations and settings tables
07:37:18.903 DEBUG __init__:142 - Executing sql
07:37:18.904 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
07:37:18.905 DEBUG __init__:142 - Executing sql
07:37:18.906 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
07:37:18.907 DEBUG test_settings:25 - Adding fake data to new database
07:37:18.908 DEBUG __init__:182 - Adding locations to database
07:37:18.969 DEBUG __init__:191 - Adding units to database
07:37:18.970 DEBUG __init__:142 - Executing sql
07:37:18.971 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
07:37:19.361 INFO globals:56 - ************************************************************
07:37:19.362 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
07:37:19.363 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
07:37:19.525 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
07:37:19.526 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
07:37:23.379 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5114
07:37:24.915 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
07:37:25.013 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:25.114 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:37:25.697 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:25.746 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:37:26.229 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:37:26.407 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:37:26.611 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:37:26.845 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:26.891 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:37:27.468 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:27.549 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:37:28.082 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:37:28.259 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:37:28.374 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:37:28.416 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:37:28.458 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:37:28.498 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:37:28.691 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:28.742 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:37:28.743 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:37:28.803 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:37:28.855 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:37:28.855 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:37:29.013 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:37:29.014 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:37:29.071 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:37:29.071 DEBUG _uinput:332 - Tapping at: 687,1208
07:37:29.173 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:29.557 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:37:30.336 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:30.411 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:37:31.263 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:37:31.306 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:37:31.398 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:37:31.399 DEBUG _uinput:332 - Tapping at: 384,347
07:37:31.501 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:31.581 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:37:32.382 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:32.445 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:37:33.293 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:37:33.295 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:37:33.345 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:37:33.415 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:37:33.416 DEBUG _uinput:332 - Tapping at: 99,455
07:37:33.597 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:33.692 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:37:34.520 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:34.625 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:37:35.473 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:37:35.474 DEBUG _uinput:332 - Tapping at: 384,491
07:37:35.576 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:35.644 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:37:36.439 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:36.532 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:37:37.374 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:37:37.375 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:37:37.420 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:37:37.498 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:37:37.498 DEBUG _uinput:332 - Tapping at: 99,636
07:37:37.655 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:37.738 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'cancelButton'}
07:37:38.535 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:37:38.536 DEBUG _uinput:332 - Tapping at: 126,130
07:37:38.638 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:38.696 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:37:39.543 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:39.592 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:37:40.047 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:37:40.278 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:37:40.484 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:37:40.856 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:40.945 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:37:41.485 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:41.539 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:37:42.016 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:37:42.236 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:37:42.334 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:37:42.386 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:37:42.426 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:37:42.465 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:37:42.662 INFO testcase:540 - waiting for process to exit.
07:37:42.662 INFO testcase:542 - Killing process 5114
07:37:43.667 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
ADB_RC=0
command_type
testcase_test