Testcase: test_settings.TestSettings.test_switch_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_scale
testsuite
/tmp/tmpbx3GEs/testsuites/ubuntu-weather-app-autopilot
returncode
0
command
autopilot-run ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale
stdout
ADB_RC=0
Loading tests from: /home/phablet/autopilot

17:01:06.906 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu2
17:01:06.928 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
17:01:06.931 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
17:01:06.934 DEBUG __init__:172 - Creating locations and settings tables
17:01:06.935 DEBUG __init__:142 - Executing sql
17:01:06.936 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
17:01:06.938 DEBUG __init__:142 - Executing sql
17:01:06.939 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
17:01:06.940 DEBUG test_settings:25 - Adding fake data to new database
17:01:06.941 DEBUG __init__:182 - Adding locations to database
17:01:06.982 DEBUG __init__:191 - Adding units to database
17:01:06.983 DEBUG __init__:142 - Executing sql
17:01:06.983 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
17:01:07.375 INFO globals:56 - ************************************************************
17:01:07.378 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
17:01:07.380 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
17:01:07.555 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
17:01:07.556 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
17:01:10.362 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5460
17:01:12.389 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
17:01:12.474 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:12.555 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
17:01:13.116 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:13.175 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
17:01:13.637 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
17:01:13.821 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
17:01:14.022 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
17:01:14.240 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:14.288 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
17:01:14.799 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:14.845 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
17:01:15.309 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
17:01:15.502 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
17:01:15.638 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
17:01:15.675 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
17:01:15.719 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
17:01:15.782 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
17:01:16.243 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:16.291 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:01:16.293 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
17:01:16.346 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:01:16.387 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
17:01:16.388 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
17:01:16.497 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:01:16.498 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:01:16.558 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:01:16.559 DEBUG _uinput:332 - Tapping at: 687,1208
17:01:16.662 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:17.058 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
17:01:17.820 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:17.888 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
17:01:18.725 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:01:18.786 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:01:18.847 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:01:18.848 DEBUG _uinput:332 - Tapping at: 384,347
17:01:18.964 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:19.019 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
17:01:19.763 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:19.841 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
17:01:20.634 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:01:20.638 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:01:20.736 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:01:20.830 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:01:20.831 DEBUG _uinput:332 - Tapping at: 99,455
17:01:21.021 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:21.085 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
17:01:21.849 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:21.920 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
17:01:22.727 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:01:22.728 DEBUG _uinput:332 - Tapping at: 384,491
17:01:22.837 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:22.912 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
17:01:23.678 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:23.762 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
17:01:24.591 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:01:24.592 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:01:24.639 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:01:24.720 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:01:24.720 DEBUG _uinput:332 - Tapping at: 99,636
17:01:24.904 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:24.972 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'cancelButton'}
17:01:25.794 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:01:25.795 DEBUG _uinput:332 - Tapping at: 126,130
17:01:25.900 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:25.980 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
17:01:26.816 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:26.872 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
17:01:27.328 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
17:01:27.502 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
17:01:27.762 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
17:01:28.052 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:28.108 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
17:01:28.624 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:28.710 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
17:01:29.187 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
17:01:29.354 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
17:01:29.475 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
17:01:29.538 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
17:01:29.594 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
17:01:29.666 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
17:01:30.022 INFO testcase:540 - waiting for process to exit.
17:01:30.024 INFO testcase:542 - Killing process 5460
17:01:31.048 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
17:01:31.055 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
17:01:31.061 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
17:01:31.070 DEBUG __init__:172 - Creating locations and settings tables
17:01:31.077 DEBUG __init__:142 - Executing sql
17:01:31.080 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
17:01:31.087 DEBUG __init__:142 - Executing sql
17:01:31.090 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
17:01:31.100 DEBUG test_settings:25 - Adding fake data to new database
17:01:31.100 DEBUG __init__:182 - Adding locations to database
17:01:31.134 DEBUG __init__:191 - Adding units to database
17:01:31.135 DEBUG __init__:142 - Executing sql
17:01:31.136 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
17:01:31.155 INFO globals:56 - ************************************************************
17:01:31.155 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale (with touch)
17:01:31.157 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
17:01:31.163 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
17:01:31.164 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
17:01:35.053 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5574
17:01:36.079 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
17:01:36.150 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:36.250 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
17:01:36.796 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:36.867 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
17:01:37.312 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
17:01:37.534 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
17:01:37.730 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
17:01:38.026 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:38.104 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:01:38.108 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
17:01:38.187 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:01:38.267 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
17:01:38.268 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
17:01:38.400 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:01:38.401 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:01:38.480 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:01:38.481 DEBUG _uinput:332 - Tapping at: 687,1208
17:01:38.583 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:38.974 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
17:01:39.787 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:39.843 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
17:01:40.666 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:01:40.713 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:01:40.806 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:01:40.807 DEBUG _uinput:332 - Tapping at: 384,347
17:01:40.911 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:40.983 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
17:01:41.785 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:41.843 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
17:01:42.645 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:01:42.646 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:01:42.694 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:01:42.796 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:01:42.798 DEBUG _uinput:332 - Tapping at: 99,455
17:01:42.985 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:43.052 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
17:01:43.852 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:01:43.853 DEBUG _uinput:332 - Tapping at: 642,130
17:01:43.957 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:44.374 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
17:01:44.963 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:45.029 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
17:01:45.587 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:45.648 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
17:01:46.134 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
17:01:46.330 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
17:01:46.556 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
17:01:46.884 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:47.035 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:01:47.035 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
17:01:47.069 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:01:47.120 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
17:01:47.121 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
17:01:47.267 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:01:47.268 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:01:47.341 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:01:47.342 DEBUG _uinput:332 - Tapping at: 687,1208
17:01:47.445 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:47.691 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
17:01:48.462 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:48.537 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
17:01:49.392 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:01:49.463 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:01:49.572 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:01:49.572 DEBUG _uinput:332 - Tapping at: 99,347
17:01:49.674 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:49.774 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
17:01:50.570 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:50.666 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
17:01:51.469 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:01:51.470 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:01:51.563 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'celsiusOption'}
17:01:51.754 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:01:51.754 DEBUG _uinput:332 - Tapping at: 384,347
17:01:51.948 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:52.059 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
17:01:52.863 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:01:52.866 DEBUG _uinput:332 - Tapping at: 642,130
17:01:52.970 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:53.356 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
17:01:53.899 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:53.954 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
17:01:54.436 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:01:54.508 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
17:01:54.971 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
17:01:55.146 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
17:01:55.352 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
17:01:55.649 INFO testcase:540 - waiting for process to exit.
17:01:55.650 INFO testcase:542 - Killing process 5574
17:01:56.659 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale(with touch)
ADB_RC=0
command_type
testcase_test