Testcase: test_settings.TestSettings.test_switch_scale_cancel

Build #:120:20140109.1:20140107.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/tmphY15uW/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

21:19:00.829 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu3
21:19:00.852 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
21:19:00.854 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
21:19:00.857 DEBUG __init__:172 - Creating locations and settings tables
21:19:00.859 DEBUG __init__:142 - Executing sql
21:19:00.859 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
21:19:00.861 DEBUG __init__:142 - Executing sql
21:19:00.862 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
21:19:00.864 DEBUG test_settings:25 - Adding fake data to new database
21:19:00.864 DEBUG __init__:182 - Adding locations to database
21:19:00.927 DEBUG __init__:191 - Adding units to database
21:19:00.928 DEBUG __init__:142 - Executing sql
21:19:00.929 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
21:19:01.338 INFO globals:56 - ************************************************************
21:19:01.339 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
21:19:01.341 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
21:19:01.506 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
21:19:01.508 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
21:19:05.417 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5568
21:19:06.482 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
21:19:06.580 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:06.655 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
21:19:07.184 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:07.234 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
21:19:07.659 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
21:19:07.853 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
21:19:08.065 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
21:19:08.415 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:08.537 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:19:09.067 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:09.114 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
21:19:09.554 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
21:19:09.715 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:19:09.817 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:19:09.890 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:19:09.968 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:19:10.082 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:19:10.387 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:10.453 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:19:10.456 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
21:19:10.497 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:19:10.557 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
21:19:10.558 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
21:19:10.727 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:19:10.728 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:19:10.793 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:19:10.793 DEBUG _uinput:332 - Tapping at: 687,1208
21:19:10.897 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:11.337 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
21:19:12.119 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:12.180 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
21:19:13.014 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:19:13.066 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:19:13.173 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:19:13.174 DEBUG _uinput:332 - Tapping at: 384,347
21:19:13.279 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:13.338 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:19:14.105 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:14.163 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:19:14.934 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:19:14.935 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:19:14.992 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:19:15.081 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:19:15.084 DEBUG _uinput:332 - Tapping at: 99,455
21:19:15.248 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:15.304 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
21:19:16.052 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:16.171 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
21:19:17.093 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:19:17.094 DEBUG _uinput:332 - Tapping at: 384,491
21:19:17.196 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:17.294 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:19:18.101 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:18.160 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:19:18.952 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:19:18.953 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:19:19.003 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:19:19.079 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:19:19.080 DEBUG _uinput:332 - Tapping at: 99,636
21:19:19.245 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:19.310 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'cancelButton'}
21:19:20.166 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:19:20.166 DEBUG _uinput:332 - Tapping at: 126,130
21:19:20.268 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:20.330 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
21:19:21.180 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:21.231 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
21:19:21.698 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
21:19:21.907 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
21:19:22.153 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
21:19:22.488 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:22.539 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:19:23.012 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:19:23.080 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
21:19:23.602 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
21:19:23.780 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:19:23.874 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:19:23.920 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:19:23.964 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:19:24.040 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:19:24.400 INFO testcase:540 - waiting for process to exit.
21:19:24.401 INFO testcase:542 - Killing process 5568
21:19:25.416 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
ADB_RC=0
command_type
testcase_test