Testcase: test_settings.TestSettings.test_switch_precipitation_scale

Build #:152:20140129.1:20140115.1
Arch:mako (Nexus 4)
Release:trusty
Variant:touch
Artifacts
Console Log

Test case data

testcase
test_settings.TestSettings.test_switch_precipitation_scale
testsuite
/tmp/tmpayWqSd/testsuites/ubuntu-weather-app-autopilot
returncode
0
command
autopilot-run ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_precipitation_scale
stdout
ADB_RC=0
21:31:06.543 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

21:31:06.965 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
21:31:06.966 DEBUG __init__:153 - Could not remove existing database
21:31:06.967 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
21:31:06.974 DEBUG __init__:172 - Creating locations and settings tables
21:31:06.976 DEBUG __init__:142 - Executing sql
21:31:06.976 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
21:31:06.979 DEBUG __init__:142 - Executing sql
21:31:06.980 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
21:31:06.981 DEBUG test_settings:25 - Adding fake data to new database
21:31:06.982 DEBUG __init__:182 - Adding locations to database
21:31:07.045 DEBUG __init__:191 - Adding units to database
21:31:07.047 DEBUG __init__:142 - Executing sql
21:31:07.048 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
21:31:07.427 INFO globals:56 - ************************************************************
21:31:07.429 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_precipitation_scale (with touch)
21:31:07.430 WARNING testcase:113 - No tracing available - install the python-autopilot-trace package!
21:31:07.661 WARNING testcase:149 - Process manager backend unavailable, application snapshot support disabled.
21:31:07.662 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
21:31:11.588 INFO _launcher:81 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 4971
21:31:13.185 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
21:31:13.300 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:13.401 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
21:31:13.994 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:14.044 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
21:31:14.496 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
21:31:14.712 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
21:31:14.839 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:31:14.907 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:31:14.984 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:31:15.075 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:31:15.509 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:15.582 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:31:15.584 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
21:31:15.628 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:31:15.679 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
21:31:15.680 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
21:31:15.775 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:31:15.776 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:31:15.835 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:31:15.836 DEBUG _uinput:332 - Tapping at: 687,1208
21:31:15.939 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:16.331 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
21:31:17.090 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:17.149 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
21:31:18.069 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:31:18.152 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:31:18.223 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:31:18.224 DEBUG _uinput:332 - Tapping at: 384,709
21:31:18.329 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:18.394 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:31:19.144 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:19.205 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:31:20.040 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:31:20.042 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:31:20.092 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:31:20.186 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:31:20.187 DEBUG _uinput:332 - Tapping at: 99,817
21:31:20.348 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:20.429 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
21:31:21.235 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:31:21.236 DEBUG _uinput:332 - Tapping at: 642,130
21:31:21.338 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:21.778 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
21:31:22.373 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:22.428 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:31:22.889 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:22.964 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
21:31:23.432 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
21:31:23.599 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
21:31:23.741 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:31:23.781 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:31:23.832 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:31:23.919 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:31:24.226 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:24.312 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:31:24.313 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
21:31:24.345 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:31:24.386 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
21:31:24.387 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
21:31:24.521 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:31:24.522 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
21:31:24.579 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:31:24.580 DEBUG _uinput:332 - Tapping at: 687,1208
21:31:24.682 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:24.949 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
21:31:25.743 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:25.809 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
21:31:26.617 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:31:26.674 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:31:26.744 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:31:26.745 DEBUG _uinput:332 - Tapping at: 99,709
21:31:26.853 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:26.988 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:31:27.803 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:27.911 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
21:31:28.671 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:31:28.672 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
21:31:28.722 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'millimetersOption'}
21:31:28.894 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:31:28.895 DEBUG _uinput:332 - Tapping at: 384,709
21:31:29.096 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:29.170 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
21:31:29.959 DEBUG _common:35 - Moving to object's globalRect coordinates.
21:31:29.960 DEBUG _uinput:332 - Tapping at: 642,130
21:31:30.062 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:30.436 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
21:31:31.025 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:31.111 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
21:31:31.676 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
21:31:31.736 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
21:31:32.261 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
21:31:32.456 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
21:31:32.564 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:31:32.607 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
21:31:32.676 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:31:32.724 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
21:31:32.989 INFO _launcher:251 - waiting for process to exit.
21:31:32.990 INFO _launcher:267 - Killing process 4971
21:31:34.060 INFO testresult:43 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_precipitation_scale(with touch)
ADB_RC=0
command_type
testcase_test