Testcase: test_settings.TestSettings.test_switch_scale_cancel

Build #:149:20140127:20140115.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/tmpoiPARJ/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

07:25:43.038 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu4
07:25:43.061 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
07:25:43.063 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
07:25:43.066 DEBUG __init__:172 - Creating locations and settings tables
07:25:43.068 DEBUG __init__:142 - Executing sql
07:25:43.068 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
07:25:43.071 DEBUG __init__:142 - Executing sql
07:25:43.071 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
07:25:43.073 DEBUG test_settings:25 - Adding fake data to new database
07:25:43.074 DEBUG __init__:182 - Adding locations to database
07:25:43.137 DEBUG __init__:191 - Adding units to database
07:25:43.138 DEBUG __init__:142 - Executing sql
07:25:43.139 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
07:25:43.543 INFO globals:56 - ************************************************************
07:25:43.548 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
07:25:43.550 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
07:25:43.713 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
07:25:43.713 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
07:25:47.608 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5043
07:25:48.575 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
07:25:48.650 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:48.756 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:25:49.330 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:49.378 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:25:49.804 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:25:49.968 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:25:50.128 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:25:50.339 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:50.410 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:25:50.915 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:50.997 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:25:51.482 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:25:51.648 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:25:51.817 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:25:51.885 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:25:51.938 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:25:51.977 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:25:52.204 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:52.259 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:25:52.260 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:25:52.301 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:25:52.371 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:25:52.372 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:25:52.482 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:25:52.483 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:25:52.564 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:25:52.565 DEBUG _uinput:332 - Tapping at: 687,1208
07:25:52.667 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:53.064 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:25:53.859 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:53.968 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:25:54.954 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:25:54.995 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:25:55.068 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:25:55.069 DEBUG _uinput:332 - Tapping at: 384,347
07:25:55.178 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:55.263 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:25:56.006 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:56.066 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:25:56.838 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:25:56.839 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:25:56.886 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:25:56.970 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:25:56.972 DEBUG _uinput:332 - Tapping at: 99,455
07:25:57.127 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:57.191 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:25:58.007 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:58.070 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:25:58.944 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:25:58.945 DEBUG _uinput:332 - Tapping at: 384,491
07:25:59.051 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:59.110 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:25:59.878 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:25:59.937 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:26:00.755 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:00.757 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:26:00.805 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:26:00.900 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:00.902 DEBUG _uinput:332 - Tapping at: 99,636
07:26:01.062 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:01.130 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'cancelButton'}
07:26:01.945 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:26:01.947 DEBUG _uinput:332 - Tapping at: 126,130
07:26:02.049 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:02.133 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:26:02.769 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:02.818 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:26:03.279 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:26:03.453 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:26:03.702 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:26:04.116 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:04.189 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:26:04.762 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:26:04.812 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:26:05.279 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:26:05.494 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:26:05.609 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:26:05.659 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:26:05.752 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:26:05.791 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:26:05.963 INFO testcase:540 - waiting for process to exit.
07:26:05.963 INFO testcase:542 - Killing process 5043
07:26:06.969 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
ADB_RC=0
command_type
testcase_test