Testcase: test_settings.TestSettings.test_switch_scale_cancel

Build #:114:20140106:20131223.2
Arch:mako (Nexus 4)
Release:trusty
Variant:touch
Artifacts
Console Log

Test case data

testcase
test_settings.TestSettings.test_switch_scale_cancel
testsuite
/tmp/tmp9n0wjp/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

06:51:32.398 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu3
06:51:32.422 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
06:51:32.424 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
06:51:32.427 DEBUG __init__:172 - Creating locations and settings tables
06:51:32.429 DEBUG __init__:142 - Executing sql
06:51:32.429 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
06:51:32.432 DEBUG __init__:142 - Executing sql
06:51:32.433 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
06:51:32.435 DEBUG test_settings:25 - Adding fake data to new database
06:51:32.436 DEBUG __init__:182 - Adding locations to database
06:51:32.625 DEBUG __init__:191 - Adding units to database
06:51:32.625 DEBUG __init__:142 - Executing sql
06:51:32.626 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
06:51:33.090 INFO globals:56 - ************************************************************
06:51:33.096 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
06:51:33.100 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
06:51:33.287 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
06:51:33.289 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
06:51:37.186 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 3714
06:51:37.857 INFO __init__:414 - dbus.DBusException while attempting to get PID for :1.54: DBusException("Could not get PID of name ':1.54': no such
name",)
06:51:37.977 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
06:51:38.071 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:51:38.174 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:51:38.749 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:51:38.797 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:51:39.263 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:51:39.458 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:51:39.719 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:51:40.068 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:51:40.144 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:51:40.646 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:51:40.703 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:51:41.175 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:51:41.370 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:51:41.488 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:51:41.580 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:51:41.682 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:51:41.720 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:51:41.889 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:51:41.949 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:51:41.951 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
06:51:41.993 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:51:42.037 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
06:51:42.038 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
06:51:42.133 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:51:42.134 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:51:42.195 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:51:42.196 DEBUG _uinput:332 - Tapping at: 687,1208
06:51:42.300 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:51:42.660 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
06:51:43.436 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:51:43.516 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
06:51:44.353 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:51:44.405 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:51:44.477 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:51:44.479 DEBUG _uinput:332 - Tapping at: 384,347
06:51:44.583 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:51:44.683 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:51:45.477 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:51:45.535 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:51:46.331 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:51:46.332 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:51:46.375 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:51:46.445 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:51:46.446 DEBUG _uinput:332 - Tapping at: 99,455
06:51:46.621 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:51:46.695 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
06:51:47.460 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:51:47.558 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
06:51:48.451 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:51:48.451 DEBUG _uinput:332 - Tapping at: 384,491
06:51:48.559 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:51:48.634 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:51:49.416 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:51:49.537 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:51:50.300 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:51:50.300 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:51:50.348 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:51:50.419 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:51:50.420 DEBUG _uinput:332 - Tapping at: 99,636
06:51:50.589 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:51:50.653 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'cancelButton'}
06:51:51.434 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:51:51.435 DEBUG _uinput:332 - Tapping at: 126,130
06:51:51.539 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:51:51.618 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:51:52.464 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:51:52.515 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:51:52.961 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:51:53.136 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:51:53.381 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:51:53.709 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:51:53.820 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:51:54.345 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:51:54.396 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:51:54.901 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:51:55.086 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:51:55.207 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:51:55.272 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:51:55.329 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:51:55.378 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:51:55.663 INFO testcase:540 - waiting for process to exit.
06:51:55.665 INFO testcase:542 - Killing process 3714
06:51:56.681 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
ADB_RC=0
command_type
testcase_test