Testcase: test_settings.TestSettings.test_switch_scale_cancel

Build #:68:20131216: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/tmp5CZf2j/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:37.735 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu2
06:56:37.758 DEBUG __init__:166 - Removing existing database
06:56:37.759 DEBUG __init__:147 - Database found in ~/.local/share/
06:56:37.760 DEBUG __init__:158 - Replaced ini com.ubuntu.weather key
06:56:37.761 DEBUG __init__:181 - Creating locations and settings tables
06:56:37.762 DEBUG __init__:147 - Database found in ~/.local/share/
06:56:37.762 DEBUG __init__:158 - Replaced ini com.ubuntu.weather key
06:56:37.764 DEBUG __init__:136 - Executing sql
06:56:37.765 DEBUG __init__:137 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
06:56:37.799 DEBUG __init__:147 - Database found in ~/.local/share/
06:56:37.800 DEBUG __init__:158 - Replaced ini com.ubuntu.weather key
06:56:37.801 DEBUG __init__:136 - Executing sql
06:56:37.802 DEBUG __init__:137 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
06:56:37.812 DEBUG test_settings:29 - Adding fake data to new database
06:56:37.813 DEBUG __init__:147 - Database found in ~/.local/share/
06:56:37.814 DEBUG __init__:158 - Replaced ini com.ubuntu.weather key
06:56:37.815 DEBUG __init__:192 - Adding locations to database
06:56:37.845 DEBUG __init__:201 - Adding units to database
06:56:37.846 DEBUG __init__:147 - Database found in ~/.local/share/
06:56:37.847 DEBUG __init__:158 - Replaced ini com.ubuntu.weather key
06:56:37.848 DEBUG __init__:136 - Executing sql
06:56:37.849 DEBUG __init__:137 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
06:56:37.859 DEBUG test_settings:32 - Re-Launching app to introspect
06:56:38.268 INFO globals:56 - ************************************************************
06:56:38.271 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
06:56:38.274 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
06:56:38.424 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
06:56:38.426 DEBUG __init__:62 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.165
06:56:42.293 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.165 has been launched with PID 5546
06:56:43.078 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
06:56:43.146 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:43.214 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:56:43.792 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:43.846 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:56:44.334 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:56:44.531 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:56:44.730 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:56:44.947 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:44.997 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:56:45.470 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:45.521 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:56:45.975 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:56:46.147 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:56:46.237 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:56:46.277 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:56:46.320 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:56:46.359 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:56:46.618 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:46.724 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:56:46.727 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
06:56:46.795 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:56:46.846 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
06:56:46.848 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
06:56:47.012 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:47.013 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:56:47.072 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:47.073 DEBUG _uinput:332 - Tapping at: 687,1208
06:56:47.176 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:47.550 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
06:56:48.321 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:48.406 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
06:56:49.220 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:56:49.277 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:56:49.343 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:49.344 DEBUG _uinput:332 - Tapping at: 384,347
06:56:49.446 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:49.533 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:56:50.344 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:50.412 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:56:51.179 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:51.180 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:56:51.220 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:56:51.290 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:51.290 DEBUG _uinput:332 - Tapping at: 99,455
06:56:51.458 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:51.525 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
06:56:52.285 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:52.345 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
06:56:53.250 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:53.252 DEBUG _uinput:332 - Tapping at: 384,491
06:56:53.358 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:53.433 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:56:54.184 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:54.243 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:56:55.024 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:55.025 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:56:55.073 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:56:55.168 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:55.171 DEBUG _uinput:332 - Tapping at: 99,636
06:56:55.348 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:55.407 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'cancelButton'}
06:56:56.267 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:56.268 DEBUG _uinput:332 - Tapping at: 126,130
06:56:56.370 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:56.476 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:56:57.045 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:57.132 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:56:57.601 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:56:57.791 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:56:57.993 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:56:58.271 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:58.365 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:56:58.945 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:58.996 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:56:59.463 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:56:59.631 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:56:59.740 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:56:59.795 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:56:59.837 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:56:59.888 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:57:00.168 INFO testcase:540 - waiting for process to exit.
06:57:00.169 INFO testcase:542 - Killing process 5546
06:57:01.184 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
ADB_RC=0
command_type
testcase_test