Testcase: test_settings.TestSettings.test_switch_scale_cancel

Build #:163:20140204.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/tmp5FBRjR/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
23:39:17.139 INFO run:62 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20140123.1-0ubuntu1
Loading tests from: /home/phablet/autopilot

23:39:17.508 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
23:39:17.510 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
23:39:17.512 DEBUG __init__:172 - Creating locations and settings tables
23:39:17.514 DEBUG __init__:142 - Executing sql
23:39:17.514 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
23:39:17.516 DEBUG __init__:142 - Executing sql
23:39:17.516 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
23:39:17.517 DEBUG test_settings:25 - Adding fake data to new database
23:39:17.518 DEBUG __init__:182 - Adding locations to database
23:39:17.570 DEBUG __init__:191 - Adding units to database
23:39:17.571 DEBUG __init__:142 - Executing sql
23:39:17.571 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
23:39:17.897 INFO globals:56 - ************************************************************
23:39:17.898 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
23:39:17.898 WARNING testcase:113 - No tracing available - install the python-autopilot-trace package!
23:39:18.033 WARNING testcase:149 - Process manager backend unavailable, application snapshot support disabled.
23:39:18.034 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
23:39:21.865 INFO _launcher:81 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 6278
23:39:23.319 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
23:39:23.399 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:23.492 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
23:39:24.079 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:24.126 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
23:39:24.556 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
23:39:24.713 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
23:39:24.872 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
23:39:25.070 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:25.118 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
23:39:25.557 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:25.605 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
23:39:26.019 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
23:39:26.177 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
23:39:26.261 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
23:39:26.301 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
23:39:26.351 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
23:39:26.388 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
23:39:26.618 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:26.667 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:39:26.667 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
23:39:26.699 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:39:26.739 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
23:39:26.740 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
23:39:26.861 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:39:26.863 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:39:26.945 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:39:26.946 DEBUG _uinput:332 - Tapping at: 687,1208
23:39:27.048 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:27.458 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
23:39:28.188 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:28.252 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
23:39:29.019 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
23:39:29.064 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
23:39:29.131 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:39:29.132 DEBUG _uinput:332 - Tapping at: 384,347
23:39:29.234 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:29.304 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
23:39:30.066 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:30.145 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
23:39:30.905 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:39:30.906 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
23:39:30.954 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
23:39:31.031 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:39:31.032 DEBUG _uinput:332 - Tapping at: 99,455
23:39:31.206 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:31.306 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
23:39:32.045 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:32.119 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
23:39:33.002 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:39:33.003 DEBUG _uinput:332 - Tapping at: 384,491
23:39:33.105 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:33.166 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
23:39:33.970 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:34.050 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
23:39:34.785 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:39:34.786 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
23:39:34.831 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
23:39:34.910 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:39:34.911 DEBUG _uinput:332 - Tapping at: 99,636
23:39:35.077 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:35.140 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'cancelButton'}
23:39:35.915 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:39:35.917 DEBUG _uinput:332 - Tapping at: 126,130
23:39:36.023 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:36.087 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
23:39:36.949 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:37.032 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
23:39:37.564 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
23:39:37.786 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
23:39:37.980 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
23:39:38.198 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:38.246 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
23:39:38.799 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:38.850 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
23:39:39.287 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
23:39:39.455 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
23:39:39.545 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
23:39:39.587 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
23:39:39.628 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
23:39:39.673 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
23:39:39.857 INFO _launcher:251 - waiting for process to exit.
23:39:39.858 INFO _launcher:267 - Killing process 6278
23:39:40.896 INFO testresult:43 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
ADB_RC=0
command_type
testcase_test