Testcase: test_settings.TestSettings.test_switch_scale_cancel

Build #:113:20140105.1:20131223.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/tmp3kUR4L/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

19:01:37.588 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu3
19:01:37.610 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
19:01:37.611 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
19:01:37.614 DEBUG __init__:172 - Creating locations and settings tables
19:01:37.615 DEBUG __init__:142 - Executing sql
19:01:37.615 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
19:01:37.617 DEBUG __init__:142 - Executing sql
19:01:37.617 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
19:01:37.618 DEBUG test_settings:25 - Adding fake data to new database
19:01:37.619 DEBUG __init__:182 - Adding locations to database
19:01:37.667 DEBUG __init__:191 - Adding units to database
19:01:37.667 DEBUG __init__:142 - Executing sql
19:01:37.668 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
19:01:38.069 INFO globals:56 - ************************************************************
19:01:38.070 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
19:01:38.070 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
19:01:38.219 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
19:01:38.219 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
19:01:41.063 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 3635
19:01:42.980 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
19:01:43.041 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:01:43.089 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
19:01:43.637 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:01:43.737 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
19:01:44.198 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
19:01:44.393 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
19:01:44.604 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
19:01:44.952 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:01:45.002 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
19:01:45.470 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:01:45.520 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
19:01:45.965 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
19:01:46.135 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
19:01:46.224 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
19:01:46.264 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
19:01:46.305 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
19:01:46.344 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
19:01:46.519 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:01:46.571 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
19:01:46.573 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
19:01:46.609 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
19:01:46.652 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
19:01:46.653 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
19:01:46.745 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:01:46.748 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
19:01:46.824 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:01:46.825 DEBUG _uinput:332 - Tapping at: 687,1208
19:01:46.927 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:01:47.301 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
19:01:48.044 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:01:48.130 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
19:01:48.987 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
19:01:49.085 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
19:01:49.161 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:01:49.163 DEBUG _uinput:332 - Tapping at: 384,347
19:01:49.267 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:01:49.334 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
19:01:50.109 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:01:50.198 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
19:01:51.060 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:01:51.061 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
19:01:51.104 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
19:01:51.229 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:01:51.230 DEBUG _uinput:332 - Tapping at: 99,455
19:01:51.459 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:01:51.517 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
19:01:52.285 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:01:52.374 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
19:01:53.264 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:01:53.265 DEBUG _uinput:332 - Tapping at: 384,491
19:01:53.372 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:01:53.434 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
19:01:54.201 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:01:54.300 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
19:01:55.124 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:01:55.125 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
19:01:55.209 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
19:01:55.320 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:01:55.321 DEBUG _uinput:332 - Tapping at: 99,636
19:01:55.488 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:01:55.559 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'cancelButton'}
19:01:56.333 DEBUG _common:35 - Moving to object's globalRect coordinates.
19:01:56.334 DEBUG _uinput:332 - Tapping at: 126,130
19:01:56.437 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:01:56.522 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
19:01:57.153 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:01:57.224 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
19:01:57.712 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
19:01:57.915 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
19:01:58.142 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
19:01:58.597 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:01:58.725 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
19:01:59.289 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
19:01:59.347 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
19:01:59.835 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
19:02:00.062 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
19:02:00.170 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
19:02:00.226 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
19:02:00.291 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
19:02:00.350 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
19:02:00.692 INFO testcase:540 - waiting for process to exit.
19:02:00.692 INFO testcase:542 - Killing process 3635
19:02:01.708 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
ADB_RC=0
command_type
testcase_test