Testcase: test_settings.TestSettings.test_switch_scale_cancel

Build #:75:20131218.2:20131218.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/tmp08g7TS/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

02:56:18.325 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu3
02:56:18.350 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
02:56:18.352 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
02:56:18.355 DEBUG __init__:172 - Creating locations and settings tables
02:56:18.357 DEBUG __init__:142 - Executing sql
02:56:18.357 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
02:56:18.359 DEBUG __init__:142 - Executing sql
02:56:18.360 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
02:56:18.362 DEBUG test_settings:25 - Adding fake data to new database
02:56:18.363 DEBUG __init__:182 - Adding locations to database
02:56:18.416 DEBUG __init__:191 - Adding units to database
02:56:18.417 DEBUG __init__:142 - Executing sql
02:56:18.418 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
02:56:18.780 INFO globals:56 - ************************************************************
02:56:18.782 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
02:56:18.785 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
02:56:18.949 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
02:56:18.950 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
02:56:22.843 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5606
02:56:23.916 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
02:56:24.029 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:24.106 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
02:56:24.674 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:24.722 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
02:56:25.207 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
02:56:25.405 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
02:56:25.612 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
02:56:25.923 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:26.011 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
02:56:26.457 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:26.504 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
02:56:26.935 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
02:56:27.098 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
02:56:27.185 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
02:56:27.222 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
02:56:27.261 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
02:56:27.299 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
02:56:27.466 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:27.516 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
02:56:27.517 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
02:56:27.550 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
02:56:27.593 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
02:56:27.594 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
02:56:27.682 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:56:27.684 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
02:56:27.742 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:56:27.743 DEBUG _uinput:332 - Tapping at: 687,1208
02:56:27.845 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:28.250 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
02:56:29.032 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:29.102 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
02:56:29.962 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:56:30.017 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:56:30.079 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:56:30.080 DEBUG _uinput:332 - Tapping at: 384,347
02:56:30.184 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:30.269 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
02:56:31.036 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:31.096 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
02:56:31.860 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:56:31.860 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:56:31.917 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:56:32.052 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:56:32.057 DEBUG _uinput:332 - Tapping at: 99,455
02:56:32.261 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:32.326 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
02:56:33.071 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:33.141 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
02:56:34.013 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:56:34.014 DEBUG _uinput:332 - Tapping at: 384,491
02:56:34.117 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:34.205 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
02:56:34.982 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:35.061 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
02:56:35.855 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:56:35.856 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:56:35.907 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
02:56:35.989 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:56:35.990 DEBUG _uinput:332 - Tapping at: 99,636
02:56:36.182 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:36.255 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'cancelButton'}
02:56:37.054 DEBUG _common:35 - Moving to object's globalRect coordinates.
02:56:37.055 DEBUG _uinput:332 - Tapping at: 126,130
02:56:37.161 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:37.260 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
02:56:38.075 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:38.138 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
02:56:38.588 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
02:56:38.758 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
02:56:38.930 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
02:56:39.151 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:39.203 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
02:56:39.672 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
02:56:39.724 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
02:56:40.164 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
02:56:40.342 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
02:56:40.436 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
02:56:40.482 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
02:56:40.527 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
02:56:40.580 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
02:56:40.752 INFO testcase:540 - waiting for process to exit.
02:56:40.752 INFO testcase:542 - Killing process 5606
02:56:41.766 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
ADB_RC=0
command_type
testcase_test