Testcase: test_settings.TestSettings.test_switch_scale_cancel

Build #:156:20140131: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/tmpG0AaUa/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
07:37:36.833 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

07:37:37.284 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
07:37:37.285 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
07:37:37.288 DEBUG __init__:172 - Creating locations and settings tables
07:37:37.289 DEBUG __init__:142 - Executing sql
07:37:37.289 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
07:37:37.291 DEBUG __init__:142 - Executing sql
07:37:37.291 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
07:37:37.292 DEBUG test_settings:25 - Adding fake data to new database
07:37:37.293 DEBUG __init__:182 - Adding locations to database
07:37:37.339 DEBUG __init__:191 - Adding units to database
07:37:37.340 DEBUG __init__:142 - Executing sql
07:37:37.340 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
07:37:37.699 INFO globals:56 - ************************************************************
07:37:37.699 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
07:37:37.700 WARNING testcase:113 - No tracing available - install the python-autopilot-trace package!
07:37:37.850 WARNING testcase:149 - Process manager backend unavailable, application snapshot support disabled.
07:37:37.851 DEBUG __init__:66 - Running via click package
07:37:40.554 INFO _launcher:81 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5325
07:37:42.466 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
07:37:42.533 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:42.595 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:37:43.151 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:43.201 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:37:43.632 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:37:43.844 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:37:44.029 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:37:44.353 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:44.473 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:37:44.953 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:45.026 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:37:45.484 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:37:45.698 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:37:45.811 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:37:45.855 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:37:45.901 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:37:45.938 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:37:46.170 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:46.220 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:37:46.220 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:37:46.251 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:37:46.294 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:37:46.295 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:37:46.422 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:37:46.423 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:37:46.541 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:37:46.542 DEBUG _uinput:332 - Tapping at: 687,1208
07:37:46.644 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:47.050 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:37:47.852 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:47.916 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:37:48.783 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:37:48.932 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:37:49.017 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:37:49.018 DEBUG _uinput:332 - Tapping at: 384,347
07:37:49.122 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:49.221 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:37:49.966 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:50.026 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:37:50.824 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:37:50.825 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:37:50.892 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:37:51.052 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:37:51.053 DEBUG _uinput:332 - Tapping at: 99,455
07:37:51.248 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:51.312 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:37:52.104 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:52.175 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:37:53.053 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:37:53.056 DEBUG _uinput:332 - Tapping at: 384,491
07:37:53.161 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:53.285 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:37:54.074 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:54.147 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:37:54.972 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:37:54.972 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:37:55.039 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:37:55.154 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:37:55.155 DEBUG _uinput:332 - Tapping at: 99,636
07:37:55.344 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:55.415 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'cancelButton'}
07:37:56.190 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:37:56.190 DEBUG _uinput:332 - Tapping at: 126,130
07:37:56.294 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:56.386 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:37:57.197 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:57.280 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:37:57.760 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:37:57.976 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:37:58.135 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:37:58.469 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:58.519 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:37:59.012 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:37:59.065 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:37:59.564 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:37:59.749 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:37:59.844 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:37:59.887 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:37:59.931 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:37:59.976 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:38:00.170 INFO _launcher:251 - waiting for process to exit.
07:38:00.171 INFO _launcher:267 - Killing process 5325
07:38:01.248 INFO testresult:43 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
ADB_RC=0
command_type
testcase_test