Testcase: test_settings.TestSettings.test_switch_precipitation_scale

Build #:74:20131218.1:20131211.2
Arch:mako (Nexus 4)
Release:trusty
Variant:touch
Artifacts
Console Log

Test case data

testcase
test_settings.TestSettings.test_switch_precipitation_scale
testsuite
/tmp/tmpbx3GEs/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
Loading tests from: /home/phablet/autopilot

17:00:38.148 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu2
17:00:38.171 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
17:00:38.173 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
17:00:38.177 DEBUG __init__:172 - Creating locations and settings tables
17:00:38.178 DEBUG __init__:142 - Executing sql
17:00:38.179 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
17:00:38.181 DEBUG __init__:142 - Executing sql
17:00:38.182 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
17:00:38.183 DEBUG test_settings:25 - Adding fake data to new database
17:00:38.184 DEBUG __init__:182 - Adding locations to database
17:00:38.230 DEBUG __init__:191 - Adding units to database
17:00:38.231 DEBUG __init__:142 - Executing sql
17:00:38.231 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
17:00:38.637 INFO globals:56 - ************************************************************
17:00:38.637 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_precipitation_scale (with touch)
17:00:38.638 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
17:00:38.788 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
17:00:38.788 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
17:00:42.688 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5327
17:00:43.611 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
17:00:43.683 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:00:43.752 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
17:00:44.348 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:00:44.400 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
17:00:44.850 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
17:00:45.045 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
17:00:45.165 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
17:00:45.258 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
17:00:45.381 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
17:00:45.449 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
17:00:45.765 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:00:45.875 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:00:45.876 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
17:00:45.909 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:00:45.948 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
17:00:45.949 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
17:00:46.039 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:00:46.040 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:00:46.097 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:00:46.098 DEBUG _uinput:332 - Tapping at: 687,1208
17:00:46.200 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:00:46.600 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
17:00:47.356 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:00:47.459 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
17:00:48.224 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:00:48.283 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:00:48.392 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:00:48.394 DEBUG _uinput:332 - Tapping at: 384,709
17:00:48.498 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:00:48.591 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
17:00:49.376 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:00:49.442 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
17:00:50.254 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:00:50.254 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:00:50.299 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:00:50.394 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:00:50.395 DEBUG _uinput:332 - Tapping at: 99,817
17:00:50.613 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:00:50.684 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
17:00:51.511 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:00:51.514 DEBUG _uinput:332 - Tapping at: 642,130
17:00:51.622 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:00:52.040 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
17:00:52.883 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:00:52.939 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
17:00:53.446 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:00:53.496 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
17:00:53.942 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
17:00:54.157 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
17:00:54.272 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
17:00:54.319 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
17:00:54.361 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
17:00:54.404 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
17:00:54.735 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:00:54.847 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:00:54.848 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
17:00:54.880 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:00:54.968 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
17:00:54.970 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
17:00:55.130 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:00:55.131 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:00:55.206 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:00:55.207 DEBUG _uinput:332 - Tapping at: 687,1208
17:00:55.313 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:00:55.594 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
17:00:56.395 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:00:56.453 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'PrecipitationUnitsSelector'}
17:00:57.266 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:00:57.342 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:00:57.471 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:00:57.471 DEBUG _uinput:332 - Tapping at: 99,709
17:00:57.574 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:00:57.676 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
17:00:58.409 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:00:58.469 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
17:00:59.250 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:00:59.251 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:00:59.298 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'millimetersOption'}
17:00:59.459 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:00:59.460 DEBUG _uinput:332 - Tapping at: 384,709
17:00:59.635 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:00:59.693 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
17:01:00.501 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:01:00.502 DEBUG _uinput:332 - Tapping at: 642,130
17:01:00.604 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:01.021 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
17:01:01.564 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:01.618 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
17:01:02.093 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:02.143 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
17:01:02.652 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
17:01:02.854 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'PrecipitationValue'}
17:01:02.979 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
17:01:03.021 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
17:01:03.061 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
17:01:03.111 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
17:01:03.512 INFO testcase:540 - waiting for process to exit.
17:01:03.513 INFO testcase:542 - Killing process 5327
17:01:04.527 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_precipitation_scale(with touch)
ADB_RC=0
command_type
testcase_test