Testcase: test_settings.TestSettings.test_switch_scale_cancel

Build #:143:20140122.1: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/tmphf6F36/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

21:52:27.340 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu4
21:52:27.362 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
21:52:27.363 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
21:52:27.366 DEBUG __init__:172 - Creating locations and settings tables
21:52:27.367 DEBUG __init__:142 - Executing sql
21:52:27.367 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
21:52:27.369 DEBUG __init__:142 - Executing sql
21:52:27.370 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
21:52:27.371 DEBUG test_settings:25 - Adding fake data to new database
21:52:27.371 DEBUG __init__:182 - Adding locations to database
21:52:27.603 DEBUG __init__:191 - Adding units to database
21:52:27.604 DEBUG __init__:142 - Executing sql
21:52:27.604 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
21:52:27.989 INFO globals:56 - ************************************************************
21:52:27.993 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
21:52:27.996 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
21:52:28.174 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
21:52:28.175 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
21:52:32.060 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 10244
21:52:33.243 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
21:52:33.307 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:52:33.373 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
21:52:33.976 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:52:34.035 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
21:52:34.455 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
21:52:34.640 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
21:52:34.840 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
21:52:35.135 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:52:35.233 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:52:35.782 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:52:35.830 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
21:52:36.339 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
21:52:36.579 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:52:36.688 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:52:36.792 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:52:36.859 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:52:36.919 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:52:37.104 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:52:37.159 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:52:37.160 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
21:52:37.196 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:52:37.241 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
21:52:37.242 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
21:52:37.340 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:52:37.342 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:52:37.407 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:52:37.408 DEBUG _uinput:332 - Tapping at: 687,1208
21:52:37.512 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:52:37.911 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
21:52:38.649 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:52:38.768 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
21:52:39.573 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:52:39.620 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:52:39.697 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:52:39.697 DEBUG _uinput:332 - Tapping at: 384,347
21:52:39.800 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:52:39.880 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:52:40.703 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:52:40.774 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:52:41.594 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:52:41.595 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:52:41.640 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:52:41.710 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:52:41.711 DEBUG _uinput:332 - Tapping at: 99,455
21:52:41.873 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:52:41.929 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
21:52:42.730 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:52:42.792 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
21:52:43.722 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:52:43.723 DEBUG _uinput:332 - Tapping at: 384,491
21:52:43.825 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:52:43.886 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:52:44.734 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:52:44.830 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:52:45.644 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:52:45.645 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:52:45.691 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:52:45.772 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:52:45.773 DEBUG _uinput:332 - Tapping at: 99,636
21:52:45.951 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:52:46.007 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'cancelButton'}
21:52:46.781 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:52:46.782 DEBUG _uinput:332 - Tapping at: 126,130
21:52:46.886 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:52:46.949 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
21:52:47.872 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:52:47.942 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
21:52:48.433 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
21:52:48.643 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
21:52:49.009 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
21:52:49.282 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:52:49.412 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:52:49.911 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:52:49.961 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
21:52:50.436 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
21:52:50.629 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:52:50.740 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:52:50.783 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:52:50.833 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:52:50.896 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:52:51.282 INFO testcase:540 - waiting for process to exit.
21:52:51.284 INFO testcase:542 - Killing process 10244
21:52:52.291 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
ADB_RC=0
command_type
testcase_test