Testcase: test_settings.TestSettings.test_switch_scale_cancel

Build #:106:20140102: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/tmpvcZXKS/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

12:01:01.923 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu3
12:01:01.946 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
12:01:01.948 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
12:01:01.951 DEBUG __init__:172 - Creating locations and settings tables
12:01:01.953 DEBUG __init__:142 - Executing sql
12:01:01.953 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
12:01:01.956 DEBUG __init__:142 - Executing sql
12:01:01.957 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
12:01:01.958 DEBUG test_settings:25 - Adding fake data to new database
12:01:01.959 DEBUG __init__:182 - Adding locations to database
12:01:02.001 DEBUG __init__:191 - Adding units to database
12:01:02.002 DEBUG __init__:142 - Executing sql
12:01:02.003 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
12:01:02.399 INFO globals:56 - ************************************************************
12:01:02.404 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
12:01:02.407 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
12:01:02.560 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
12:01:02.560 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
12:01:05.375 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5422
12:01:07.286 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
12:01:07.382 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:01:07.433 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
12:01:07.978 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:01:08.050 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
12:01:08.504 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
12:01:08.684 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
12:01:08.998 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
12:01:09.362 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:01:09.461 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
12:01:09.921 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:01:10.007 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
12:01:10.441 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
12:01:10.600 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
12:01:10.701 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
12:01:10.774 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
12:01:10.821 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
12:01:10.875 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
12:01:11.250 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:01:11.322 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
12:01:11.325 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
12:01:11.365 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
12:01:11.405 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
12:01:11.406 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
12:01:11.534 DEBUG _common:35 - Moving to object's globalRect coordinates.
12:01:11.536 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
12:01:11.657 DEBUG _common:35 - Moving to object's globalRect coordinates.
12:01:11.658 DEBUG _uinput:332 - Tapping at: 687,1208
12:01:11.766 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:01:12.179 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
12:01:12.957 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:01:13.041 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
12:01:13.882 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
12:01:13.976 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
12:01:14.100 DEBUG _common:35 - Moving to object's globalRect coordinates.
12:01:14.104 DEBUG _uinput:332 - Tapping at: 384,347
12:01:14.215 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:01:14.304 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
12:01:15.072 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:01:15.152 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
12:01:15.973 DEBUG _common:35 - Moving to object's globalRect coordinates.
12:01:15.976 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
12:01:16.024 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
12:01:16.128 DEBUG _common:35 - Moving to object's globalRect coordinates.
12:01:16.129 DEBUG _uinput:332 - Tapping at: 99,455
12:01:16.327 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:01:16.404 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
12:01:17.197 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:01:17.265 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
12:01:18.124 DEBUG _common:35 - Moving to object's globalRect coordinates.
12:01:18.125 DEBUG _uinput:332 - Tapping at: 384,491
12:01:18.227 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:01:18.323 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
12:01:19.102 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:01:19.193 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
12:01:19.998 DEBUG _common:35 - Moving to object's globalRect coordinates.
12:01:19.998 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
12:01:20.066 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
12:01:20.218 DEBUG _common:35 - Moving to object's globalRect coordinates.
12:01:20.221 DEBUG _uinput:332 - Tapping at: 99,636
12:01:20.430 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:01:20.507 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'cancelButton'}
12:01:21.267 DEBUG _common:35 - Moving to object's globalRect coordinates.
12:01:21.268 DEBUG _uinput:332 - Tapping at: 126,130
12:01:21.372 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:01:21.457 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
12:01:22.067 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:01:22.141 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
12:01:22.633 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
12:01:22.804 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
12:01:23.008 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
12:01:23.275 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:01:23.383 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
12:01:23.893 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:01:23.946 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
12:01:24.422 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
12:01:24.619 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
12:01:24.719 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
12:01:24.794 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
12:01:24.846 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
12:01:24.964 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
12:01:25.220 INFO testcase:540 - waiting for process to exit.
12:01:25.221 INFO testcase:542 - Killing process 5422
12:01:26.234 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
ADB_RC=0
command_type
testcase_test