Testcase: test_settings.TestSettings.test_switch_scale_cancel

Build #:117:20140107.1:20140107.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/tmp2ae9po/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:38:23.815 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu3
21:38:23.838 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
21:38:23.840 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
21:38:23.844 DEBUG __init__:172 - Creating locations and settings tables
21:38:23.845 DEBUG __init__:142 - Executing sql
21:38:23.846 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
21:38:23.848 DEBUG __init__:142 - Executing sql
21:38:23.848 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
21:38:23.850 DEBUG test_settings:25 - Adding fake data to new database
21:38:23.851 DEBUG __init__:182 - Adding locations to database
21:38:23.909 DEBUG __init__:191 - Adding units to database
21:38:23.911 DEBUG __init__:142 - Executing sql
21:38:23.911 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
21:38:24.349 INFO globals:56 - ************************************************************
21:38:24.354 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
21:38:24.358 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
21:38:24.546 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
21:38:24.547 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
21:38:27.377 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5467
21:38:29.489 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
21:38:29.551 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:38:29.625 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
21:38:30.173 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:38:30.220 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
21:38:30.640 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
21:38:30.804 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
21:38:31.004 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
21:38:31.282 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:38:31.333 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:38:31.808 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:38:31.855 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
21:38:32.291 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
21:38:32.460 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:38:32.551 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:38:32.591 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:38:32.631 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:38:32.669 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:38:32.851 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:38:32.901 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:38:32.902 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
21:38:32.937 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:38:32.981 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
21:38:32.982 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
21:38:33.075 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:38:33.076 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:38:33.134 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:38:33.135 DEBUG _uinput:332 - Tapping at: 687,1208
21:38:33.239 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:38:33.722 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
21:38:34.458 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:38:34.545 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
21:38:35.378 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:38:35.431 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:38:35.496 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:38:35.497 DEBUG _uinput:332 - Tapping at: 384,347
21:38:35.599 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:38:35.679 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:38:36.461 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:38:36.542 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:38:37.398 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:38:37.401 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:38:37.492 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:38:37.581 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:38:37.582 DEBUG _uinput:332 - Tapping at: 99,455
21:38:37.778 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:38:37.906 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
21:38:38.696 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:38:38.761 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
21:38:39.726 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:38:39.728 DEBUG _uinput:332 - Tapping at: 384,491
21:38:39.833 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:38:39.894 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:38:40.654 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:38:40.727 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:38:41.472 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:38:41.473 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:38:41.522 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:38:41.598 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:38:41.599 DEBUG _uinput:332 - Tapping at: 99,636
21:38:41.779 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:38:41.850 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'cancelButton'}
21:38:42.617 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:38:42.618 DEBUG _uinput:332 - Tapping at: 126,130
21:38:42.721 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:38:42.822 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
21:38:43.421 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:38:43.469 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
21:38:43.951 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
21:38:44.160 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
21:38:44.395 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
21:38:44.807 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:38:44.893 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:38:45.465 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:38:45.518 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
21:38:46.004 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
21:38:46.211 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:38:46.326 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:38:46.396 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:38:46.440 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:38:46.529 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:38:46.724 INFO testcase:540 - waiting for process to exit.
21:38:46.726 INFO testcase:542 - Killing process 5467
21:38:47.743 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
ADB_RC=0
command_type
testcase_test