Testcase: test_settings.TestSettings.test_switch_scale_cancel

Build #:116:20140107: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/tmpdL4s8c/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:25:13.425 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu3
12:25:13.448 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
12:25:13.451 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
12:25:13.454 DEBUG __init__:172 - Creating locations and settings tables
12:25:13.455 DEBUG __init__:142 - Executing sql
12:25:13.456 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
12:25:13.458 DEBUG __init__:142 - Executing sql
12:25:13.459 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
12:25:13.461 DEBUG test_settings:25 - Adding fake data to new database
12:25:13.462 DEBUG __init__:182 - Adding locations to database
12:25:13.502 DEBUG __init__:191 - Adding units to database
12:25:13.503 DEBUG __init__:142 - Executing sql
12:25:13.503 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
12:25:13.912 INFO globals:56 - ************************************************************
12:25:13.915 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
12:25:13.917 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
12:25:14.069 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
12:25:14.070 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
12:25:16.936 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 3638
12:25:17.474 INFO __init__:414 - dbus.DBusException while attempting to get PID for :1.36: DBusException("Could not get PID of name ':1.36': no such
name",)
12:25:18.825 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
12:25:18.943 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:25:19.026 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
12:25:19.615 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:25:19.664 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
12:25:20.124 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
12:25:20.317 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
12:25:20.538 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
12:25:20.748 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:25:20.801 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
12:25:21.307 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:25:21.353 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
12:25:21.800 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
12:25:21.978 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
12:25:22.072 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
12:25:22.132 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
12:25:22.194 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
12:25:22.269 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
12:25:22.626 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:25:22.722 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
12:25:22.723 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
12:25:22.755 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
12:25:22.796 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
12:25:22.797 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
12:25:22.884 DEBUG _common:35 - Moving to object's globalRect coordinates.
12:25:22.885 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
12:25:22.943 DEBUG _common:35 - Moving to object's globalRect coordinates.
12:25:22.944 DEBUG _uinput:332 - Tapping at: 687,1208
12:25:23.045 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:25:23.456 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
12:25:24.250 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:25:24.331 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
12:25:25.182 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
12:25:25.301 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
12:25:25.397 DEBUG _common:35 - Moving to object's globalRect coordinates.
12:25:25.399 DEBUG _uinput:332 - Tapping at: 384,347
12:25:25.503 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:25:25.589 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
12:25:26.388 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:25:26.458 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
12:25:27.239 DEBUG _common:35 - Moving to object's globalRect coordinates.
12:25:27.241 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
12:25:27.332 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
12:25:27.407 DEBUG _common:35 - Moving to object's globalRect coordinates.
12:25:27.409 DEBUG _uinput:332 - Tapping at: 99,455
12:25:27.590 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:25:27.702 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
12:25:28.449 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:25:28.571 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
12:25:29.431 DEBUG _common:35 - Moving to object's globalRect coordinates.
12:25:29.432 DEBUG _uinput:332 - Tapping at: 384,491
12:25:29.538 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:25:29.602 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
12:25:30.347 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:25:30.441 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
12:25:31.217 DEBUG _common:35 - Moving to object's globalRect coordinates.
12:25:31.218 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
12:25:31.305 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
12:25:31.410 DEBUG _common:35 - Moving to object's globalRect coordinates.
12:25:31.411 DEBUG _uinput:332 - Tapping at: 99,636
12:25:31.589 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:25:31.665 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'cancelButton'}
12:25:32.528 DEBUG _common:35 - Moving to object's globalRect coordinates.
12:25:32.532 DEBUG _uinput:332 - Tapping at: 126,130
12:25:32.636 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:25:32.754 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
12:25:33.624 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:25:33.696 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
12:25:34.138 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
12:25:34.319 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
12:25:34.535 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
12:25:34.783 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:25:34.865 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
12:25:35.420 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
12:25:35.482 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
12:25:35.997 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
12:25:36.166 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
12:25:36.254 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
12:25:36.298 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
12:25:36.341 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
12:25:36.391 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
12:25:36.553 INFO testcase:540 - waiting for process to exit.
12:25:36.554 INFO testcase:542 - Killing process 3638
12:25:37.569 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
ADB_RC=0
command_type
testcase_test