Testcase: test_settings.TestSettings.test_switch_scale_cancel

Build #:67:20131215:20131211.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/tmp_2fQet/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:56:18.017 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu2
06:56:18.041 DEBUG __init__:166 - Removing existing database
06:56:18.041 DEBUG __init__:147 - Database found in ~/.local/share/
06:56:18.043 DEBUG __init__:158 - Replaced ini com.ubuntu.weather key
06:56:18.044 DEBUG __init__:181 - Creating locations and settings tables
06:56:18.044 DEBUG __init__:147 - Database found in ~/.local/share/
06:56:18.045 DEBUG __init__:158 - Replaced ini com.ubuntu.weather key
06:56:18.047 DEBUG __init__:136 - Executing sql
06:56:18.047 DEBUG __init__:137 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
06:56:18.085 DEBUG __init__:147 - Database found in ~/.local/share/
06:56:18.086 DEBUG __init__:158 - Replaced ini com.ubuntu.weather key
06:56:18.087 DEBUG __init__:136 - Executing sql
06:56:18.088 DEBUG __init__:137 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
06:56:18.100 DEBUG test_settings:29 - Adding fake data to new database
06:56:18.101 DEBUG __init__:147 - Database found in ~/.local/share/
06:56:18.102 DEBUG __init__:158 - Replaced ini com.ubuntu.weather key
06:56:18.103 DEBUG __init__:192 - Adding locations to database
06:56:18.133 DEBUG __init__:201 - Adding units to database
06:56:18.134 DEBUG __init__:147 - Database found in ~/.local/share/
06:56:18.135 DEBUG __init__:158 - Replaced ini com.ubuntu.weather key
06:56:18.136 DEBUG __init__:136 - Executing sql
06:56:18.137 DEBUG __init__:137 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
06:56:18.149 DEBUG test_settings:32 - Re-Launching app to introspect
06:56:18.574 INFO globals:56 - ************************************************************
06:56:18.579 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
06:56:18.584 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
06:56:18.738 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
06:56:18.740 DEBUG __init__:62 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.165
06:56:21.587 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.165 has been launched with PID 5517
06:56:23.544 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
06:56:23.628 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:23.722 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:56:24.288 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:24.340 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:56:24.853 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:56:25.021 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:56:25.256 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:56:25.578 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:25.684 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:56:26.136 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:26.186 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:56:26.634 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:56:26.804 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:56:26.894 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:56:26.934 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:56:26.974 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:56:27.030 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:56:27.261 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:27.317 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:56:27.318 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
06:56:27.365 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:56:27.407 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
06:56:27.407 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
06:56:27.495 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:27.496 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:56:27.556 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:27.557 DEBUG _uinput:332 - Tapping at: 687,1208
06:56:27.667 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:28.046 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
06:56:28.839 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:28.928 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
06:56:29.720 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:56:29.778 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:56:29.858 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:29.860 DEBUG _uinput:332 - Tapping at: 384,347
06:56:29.963 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:30.069 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:56:30.865 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:30.942 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:56:31.687 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:31.688 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:56:31.730 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:56:31.816 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:31.817 DEBUG _uinput:332 - Tapping at: 99,455
06:56:31.996 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:32.066 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
06:56:32.836 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:32.929 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
06:56:33.810 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:33.811 DEBUG _uinput:332 - Tapping at: 384,491
06:56:33.915 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:34.005 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:56:34.773 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:34.865 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:56:35.666 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:35.667 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:56:35.715 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:56:35.808 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:35.811 DEBUG _uinput:332 - Tapping at: 99,636
06:56:36.026 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:36.088 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'cancelButton'}
06:56:36.964 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:36.965 DEBUG _uinput:332 - Tapping at: 126,130
06:56:37.068 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:37.198 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:56:37.750 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:37.822 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:56:38.315 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:56:38.483 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:56:38.686 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:56:38.934 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:38.987 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:56:39.473 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:39.528 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:56:40.007 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:56:40.227 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:56:40.375 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:56:40.419 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:56:40.464 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:56:40.515 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:56:40.772 INFO testcase:540 - waiting for process to exit.
06:56:40.773 INFO testcase:542 - Killing process 5517
06:56:41.787 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
ADB_RC=0
command_type
testcase_test