Testcase: test_settings.TestSettings.test_switch_scale_cancel

Build #:69:20131216.1:20131211.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/tmpSpzCWe/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

20:12:10.461 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu2
20:12:10.484 DEBUG __init__:166 - Removing existing database
20:12:10.485 DEBUG __init__:147 - Database found in ~/.local/share/
20:12:10.485 DEBUG __init__:158 - Replaced ini com.ubuntu.weather key
20:12:10.487 DEBUG __init__:181 - Creating locations and settings tables
20:12:10.487 DEBUG __init__:147 - Database found in ~/.local/share/
20:12:10.488 DEBUG __init__:158 - Replaced ini com.ubuntu.weather key
20:12:10.490 DEBUG __init__:136 - Executing sql
20:12:10.490 DEBUG __init__:137 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
20:12:10.605 DEBUG __init__:147 - Database found in ~/.local/share/
20:12:10.606 DEBUG __init__:158 - Replaced ini com.ubuntu.weather key
20:12:10.608 DEBUG __init__:136 - Executing sql
20:12:10.608 DEBUG __init__:137 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
20:12:10.697 DEBUG test_settings:29 - Adding fake data to new database
20:12:10.697 DEBUG __init__:147 - Database found in ~/.local/share/
20:12:10.698 DEBUG __init__:158 - Replaced ini com.ubuntu.weather key
20:12:10.699 DEBUG __init__:192 - Adding locations to database
20:12:10.888 DEBUG __init__:201 - Adding units to database
20:12:10.888 DEBUG __init__:147 - Database found in ~/.local/share/
20:12:10.889 DEBUG __init__:158 - Replaced ini com.ubuntu.weather key
20:12:10.890 DEBUG __init__:136 - Executing sql
20:12:10.891 DEBUG __init__:137 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
20:12:10.974 DEBUG test_settings:32 - Re-Launching app to introspect
20:12:11.360 INFO globals:56 - ************************************************************
20:12:11.366 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
20:12:11.370 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
20:12:11.529 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
20:12:11.530 DEBUG __init__:62 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.165
20:12:15.383 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.165 has been launched with PID 5477
20:12:16.412 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
20:12:16.490 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
20:12:16.567 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
20:12:17.179 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
20:12:17.226 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
20:12:17.690 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
20:12:17.882 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
20:12:18.093 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
20:12:18.380 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
20:12:18.501 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
20:12:19.017 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
20:12:19.070 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
20:12:19.568 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
20:12:19.765 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
20:12:19.894 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
20:12:19.956 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
20:12:20.018 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
20:12:20.057 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
20:12:20.286 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
20:12:20.402 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
20:12:20.405 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
20:12:20.474 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
20:12:20.533 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
20:12:20.534 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
20:12:20.626 DEBUG _common:35 - Moving to object's globalRect coordinates.
20:12:20.627 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
20:12:20.690 DEBUG _common:35 - Moving to object's globalRect coordinates.
20:12:20.691 DEBUG _uinput:332 - Tapping at: 687,1208
20:12:20.794 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
20:12:21.194 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
20:12:21.977 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
20:12:22.051 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
20:12:22.902 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
20:12:22.966 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
20:12:23.042 DEBUG _common:35 - Moving to object's globalRect coordinates.
20:12:23.043 DEBUG _uinput:332 - Tapping at: 384,347
20:12:23.147 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
20:12:23.211 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
20:12:23.941 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
20:12:24.025 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
20:12:24.817 DEBUG _common:35 - Moving to object's globalRect coordinates.
20:12:24.818 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
20:12:24.861 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
20:12:24.944 DEBUG _common:35 - Moving to object's globalRect coordinates.
20:12:24.945 DEBUG _uinput:332 - Tapping at: 99,455
20:12:25.129 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
20:12:25.271 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
20:12:26.052 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
20:12:26.113 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
20:12:26.938 DEBUG _common:35 - Moving to object's globalRect coordinates.
20:12:26.938 DEBUG _uinput:332 - Tapping at: 384,491
20:12:27.040 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
20:12:27.113 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
20:12:27.888 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
20:12:27.957 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
20:12:28.729 DEBUG _common:35 - Moving to object's globalRect coordinates.
20:12:28.730 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
20:12:28.781 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
20:12:28.852 DEBUG _common:35 - Moving to object's globalRect coordinates.
20:12:28.853 DEBUG _uinput:332 - Tapping at: 99,636
20:12:29.037 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
20:12:29.120 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'cancelButton'}
20:12:29.966 DEBUG _common:35 - Moving to object's globalRect coordinates.
20:12:29.966 DEBUG _uinput:332 - Tapping at: 126,130
20:12:30.068 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
20:12:30.152 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
20:12:31.002 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
20:12:31.056 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
20:12:31.545 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
20:12:31.734 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
20:12:31.966 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
20:12:32.335 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
20:12:32.423 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
20:12:32.933 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
20:12:33.003 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
20:12:33.487 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
20:12:33.661 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
20:12:33.750 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
20:12:33.807 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
20:12:33.850 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
20:12:33.901 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
20:12:34.064 INFO testcase:540 - waiting for process to exit.
20:12:34.065 INFO testcase:542 - Killing process 5477
20:12:35.087 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
ADB_RC=0
command_type
testcase_test