Testcase: test_settings.TestSettings.test_switch_scale_cancel

Build #:151:20140129: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/tmpU6gyPS/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
07:31:25.525 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

07:31:25.923 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
07:31:25.925 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
07:31:25.929 DEBUG __init__:172 - Creating locations and settings tables
07:31:25.930 DEBUG __init__:142 - Executing sql
07:31:25.931 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
07:31:25.933 DEBUG __init__:142 - Executing sql
07:31:25.934 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
07:31:25.935 DEBUG test_settings:25 - Adding fake data to new database
07:31:25.936 DEBUG __init__:182 - Adding locations to database
07:31:26.000 DEBUG __init__:191 - Adding units to database
07:31:26.001 DEBUG __init__:142 - Executing sql
07:31:26.002 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
07:31:26.383 INFO globals:56 - ************************************************************
07:31:26.384 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
07:31:26.385 WARNING testcase:113 - No tracing available - install the python-autopilot-trace package!
07:31:26.511 WARNING testcase:149 - Process manager backend unavailable, application snapshot support disabled.
07:31:26.512 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
07:31:29.368 INFO _launcher:81 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5139
07:31:31.262 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
07:31:31.332 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:31.401 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:31:31.911 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:31.961 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:31:32.426 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:31:32.602 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:31:32.791 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:31:33.053 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:33.188 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:31:33.754 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:33.803 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:31:34.224 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:31:34.385 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:31:34.473 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:31:34.520 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:31:34.604 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:31:34.640 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:31:34.844 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:34.936 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:31:34.939 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:31:34.972 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:31:35.061 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:31:35.064 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:31:35.221 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:31:35.222 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:31:35.307 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:31:35.308 DEBUG _uinput:332 - Tapping at: 687,1208
07:31:35.413 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:35.829 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:31:36.614 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:36.671 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:31:37.498 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:31:37.543 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:31:37.625 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:31:37.625 DEBUG _uinput:332 - Tapping at: 384,347
07:31:37.727 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:37.831 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:31:38.607 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:38.667 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:31:39.446 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:31:39.447 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:31:39.495 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:31:39.615 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:31:39.617 DEBUG _uinput:332 - Tapping at: 99,455
07:31:39.785 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:39.841 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:31:40.601 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:40.656 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:31:41.489 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:31:41.490 DEBUG _uinput:332 - Tapping at: 384,491
07:31:41.592 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:41.671 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:31:42.529 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:42.621 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:31:43.426 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:31:43.426 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:31:43.471 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:31:43.554 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:31:43.555 DEBUG _uinput:332 - Tapping at: 99,636
07:31:43.730 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:43.792 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'cancelButton'}
07:31:44.566 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:31:44.568 DEBUG _uinput:332 - Tapping at: 126,130
07:31:44.677 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:44.743 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:31:45.606 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:45.677 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:31:46.183 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:31:46.368 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:31:46.582 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:31:46.888 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:46.950 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:31:47.428 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:47.520 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:31:47.970 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:31:48.152 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:31:48.244 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:31:48.287 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:31:48.357 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:31:48.407 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:31:48.686 INFO _launcher:251 - waiting for process to exit.
07:31:48.687 INFO _launcher:267 - Killing process 5139
07:31:49.759 INFO testresult:43 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
ADB_RC=0
command_type
testcase_test