Testcase: test_settings.TestSettings.test_switch_scale_cancel

Build #:72:20131217.2: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/tmp3fIQaz/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

00:24:28.669 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu2
00:24:28.692 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
00:24:28.694 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
00:24:28.697 DEBUG __init__:172 - Creating locations and settings tables
00:24:28.699 DEBUG __init__:142 - Executing sql
00:24:28.700 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
00:24:28.702 DEBUG __init__:142 - Executing sql
00:24:28.702 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
00:24:28.704 DEBUG test_settings:25 - Adding fake data to new database
00:24:28.705 DEBUG __init__:182 - Adding locations to database
00:24:28.745 DEBUG __init__:191 - Adding units to database
00:24:28.746 DEBUG __init__:142 - Executing sql
00:24:28.747 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
00:24:29.172 INFO globals:56 - ************************************************************
00:24:29.176 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
00:24:29.180 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
00:24:29.379 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
00:24:29.380 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
00:24:32.221 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5659
00:24:34.104 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
00:24:34.198 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
00:24:34.252 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
00:24:34.869 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
00:24:34.918 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
00:24:35.363 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
00:24:35.546 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
00:24:35.859 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
00:24:36.123 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
00:24:36.234 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
00:24:36.718 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
00:24:36.770 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
00:24:37.258 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
00:24:37.431 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
00:24:37.530 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
00:24:37.589 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
00:24:37.668 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
00:24:37.704 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
00:24:38.007 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
00:24:38.058 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
00:24:38.059 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
00:24:38.114 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
00:24:38.172 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
00:24:38.173 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
00:24:38.332 DEBUG _common:35 - Moving to object's globalRect coordinates.
00:24:38.332 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
00:24:38.394 DEBUG _common:35 - Moving to object's globalRect coordinates.
00:24:38.395 DEBUG _uinput:332 - Tapping at: 687,1208
00:24:38.497 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
00:24:38.882 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
00:24:39.682 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
00:24:39.742 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
00:24:40.559 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
00:24:40.610 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
00:24:40.708 DEBUG _common:35 - Moving to object's globalRect coordinates.
00:24:40.709 DEBUG _uinput:332 - Tapping at: 384,347
00:24:40.813 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
00:24:40.910 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
00:24:41.707 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
00:24:41.795 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
00:24:42.556 DEBUG _common:35 - Moving to object's globalRect coordinates.
00:24:42.557 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
00:24:42.600 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
00:24:42.692 DEBUG _common:35 - Moving to object's globalRect coordinates.
00:24:42.693 DEBUG _uinput:332 - Tapping at: 99,455
00:24:42.861 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
00:24:42.938 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
00:24:43.739 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
00:24:43.814 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
00:24:44.678 DEBUG _common:35 - Moving to object's globalRect coordinates.
00:24:44.679 DEBUG _uinput:332 - Tapping at: 384,491
00:24:44.783 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
00:24:44.895 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
00:24:45.705 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
00:24:45.785 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
00:24:46.575 DEBUG _common:35 - Moving to object's globalRect coordinates.
00:24:46.576 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
00:24:46.622 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
00:24:46.734 DEBUG _common:35 - Moving to object's globalRect coordinates.
00:24:46.734 DEBUG _uinput:332 - Tapping at: 99,636
00:24:46.917 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
00:24:46.973 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'cancelButton'}
00:24:47.751 DEBUG _common:35 - Moving to object's globalRect coordinates.
00:24:47.751 DEBUG _uinput:332 - Tapping at: 126,130
00:24:47.855 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
00:24:47.943 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
00:24:48.788 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
00:24:48.866 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
00:24:49.399 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
00:24:49.610 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
00:24:49.835 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
00:24:50.226 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
00:24:50.290 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
00:24:50.828 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
00:24:50.879 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
00:24:51.376 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
00:24:51.577 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
00:24:51.678 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
00:24:51.722 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
00:24:51.776 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
00:24:51.840 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
00:24:52.118 INFO testcase:540 - waiting for process to exit.
00:24:52.119 INFO testcase:542 - Killing process 5659
00:24:53.134 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
ADB_RC=0
command_type
testcase_test