Testcase: test_settings.TestSettings.test_switch_scale_cancel

Build #:146:20140124: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/tmpqzqhqK/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

07:16:12.084 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu4
07:16:12.111 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
07:16:12.114 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
07:16:12.117 DEBUG __init__:172 - Creating locations and settings tables
07:16:12.119 DEBUG __init__:142 - Executing sql
07:16:12.120 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
07:16:12.122 DEBUG __init__:142 - Executing sql
07:16:12.123 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
07:16:12.125 DEBUG test_settings:25 - Adding fake data to new database
07:16:12.125 DEBUG __init__:182 - Adding locations to database
07:16:12.194 DEBUG __init__:191 - Adding units to database
07:16:12.196 DEBUG __init__:142 - Executing sql
07:16:12.197 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
07:16:12.616 INFO globals:56 - ************************************************************
07:16:12.621 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
07:16:12.625 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
07:16:12.794 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
07:16:12.795 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
07:16:15.639 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5134
07:16:17.581 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
07:16:17.670 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:16:17.727 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:16:18.298 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:16:18.349 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:16:18.817 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:16:18.978 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:16:19.138 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:16:19.346 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:16:19.393 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:16:19.835 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:16:19.883 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:16:20.327 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:16:20.497 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:16:20.590 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:16:20.628 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:16:20.665 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:16:20.702 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:16:20.887 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:16:20.938 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:16:20.940 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:16:20.975 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:16:21.023 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:16:21.024 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:16:21.125 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:16:21.126 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:16:21.197 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:16:21.198 DEBUG _uinput:332 - Tapping at: 687,1208
07:16:21.309 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:16:21.735 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:16:22.500 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:16:22.566 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:16:23.418 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:16:23.463 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:16:23.576 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:16:23.577 DEBUG _uinput:332 - Tapping at: 384,347
07:16:23.681 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:16:23.769 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:16:24.539 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:16:24.598 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:16:25.386 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:16:25.387 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:16:25.455 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:16:25.565 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:16:25.568 DEBUG _uinput:332 - Tapping at: 99,455
07:16:25.761 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:16:25.829 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:16:26.579 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:16:26.666 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
07:16:27.498 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:16:27.499 DEBUG _uinput:332 - Tapping at: 384,491
07:16:27.601 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:16:27.663 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:16:28.466 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:16:28.549 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:16:29.352 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:16:29.355 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:16:29.413 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:16:29.492 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:16:29.493 DEBUG _uinput:332 - Tapping at: 99,636
07:16:29.654 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:16:29.717 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'cancelButton'}
07:16:30.600 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:16:30.603 DEBUG _uinput:332 - Tapping at: 126,130
07:16:30.706 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:16:30.784 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:16:31.641 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:16:31.690 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:16:32.169 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:16:32.368 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:16:32.764 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:16:33.062 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:16:33.147 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:16:33.652 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:16:33.745 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:16:34.200 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:16:34.435 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
07:16:34.558 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:16:34.639 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
07:16:34.677 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:16:34.716 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
07:16:34.978 INFO testcase:540 - waiting for process to exit.
07:16:34.981 INFO testcase:542 - Killing process 5134
07:16:35.997 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
ADB_RC=0
command_type
testcase_test