Testcase: test_settings.TestSettings.test_switch_scale

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
testsuite
/tmp/tmpU6gyPS/testsuites/ubuntu-weather-app-autopilot
returncode
0
command
autopilot-run ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale
stdout
ADB_RC=0
07:30:57.628 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:30:58.018 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
07:30:58.020 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
07:30:58.024 DEBUG __init__:172 - Creating locations and settings tables
07:30:58.025 DEBUG __init__:142 - Executing sql
07:30:58.026 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
07:30:58.028 DEBUG __init__:142 - Executing sql
07:30:58.028 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
07:30:58.030 DEBUG test_settings:25 - Adding fake data to new database
07:30:58.031 DEBUG __init__:182 - Adding locations to database
07:30:58.100 DEBUG __init__:191 - Adding units to database
07:30:58.100 DEBUG __init__:142 - Executing sql
07:30:58.101 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
07:30:58.503 INFO globals:56 - ************************************************************
07:30:58.505 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale (with touch)
07:30:58.506 WARNING testcase:113 - No tracing available - install the python-autopilot-trace package!
07:30:58.655 WARNING testcase:149 - Process manager backend unavailable, application snapshot support disabled.
07:30:58.657 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
07:31:02.488 INFO _launcher:81 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5000
07:31:03.555 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
07:31:03.645 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:03.730 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:31:04.248 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:04.326 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:31:04.765 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:31:04.975 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:31:05.142 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:31:05.356 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:05.407 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:31:05.407 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:31:05.441 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:31:05.489 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:31:05.490 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:31:05.583 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:31:05.584 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:31:05.645 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:31:05.646 DEBUG _uinput:332 - Tapping at: 687,1208
07:31:05.751 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:06.132 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:31:06.951 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:07.006 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:31:07.777 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:31:07.820 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:31:07.884 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:31:07.885 DEBUG _uinput:332 - Tapping at: 384,347
07:31:07.990 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:08.059 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:31:08.826 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:08.896 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:31:09.709 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:31:09.711 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:31:09.778 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:31:09.845 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:31:09.845 DEBUG _uinput:332 - Tapping at: 99,455
07:31:10.026 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:10.096 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
07:31:10.867 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:31:10.868 DEBUG _uinput:332 - Tapping at: 642,130
07:31:10.970 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:11.353 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
07:31:11.884 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:11.937 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:31:12.446 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:12.526 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:31:12.996 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:31:13.161 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:31:13.323 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:31:13.531 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:13.581 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:31:13.582 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:31:13.615 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:31:13.659 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
07:31:13.660 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
07:31:13.753 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:31:13.754 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:31:13.817 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:31:13.818 DEBUG _uinput:332 - Tapping at: 687,1208
07:31:13.920 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:14.192 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:31:14.947 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:15.006 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
07:31:15.802 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:31:15.851 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:31:15.969 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:31:15.970 DEBUG _uinput:332 - Tapping at: 99,347
07:31:16.076 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:16.147 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:31:16.881 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:16.956 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
07:31:17.744 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:31:17.744 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
07:31:17.787 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'celsiusOption'}
07:31:17.971 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:31:17.972 DEBUG _uinput:332 - Tapping at: 384,347
07:31:18.130 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:18.189 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
07:31:19.002 DEBUG _common:35 - Moving to object's globalRect coordinates.
07:31:19.003 DEBUG _uinput:332 - Tapping at: 642,130
07:31:19.104 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:19.522 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
07:31:20.063 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:20.133 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:31:20.631 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:31:20.689 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
07:31:21.160 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
07:31:21.340 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:31:21.611 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
07:31:21.927 INFO _launcher:251 - waiting for process to exit.
07:31:21.928 INFO _launcher:267 - Killing process 5000
07:31:23.000 INFO testresult:43 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale(with touch)
ADB_RC=0
command_type
testcase_test