Testcase: test_settings.TestSettings.test_switch_scale

Build #:73:20131218: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/tmp6qIPGt/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

06:56:18.773 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu2
06:56:18.796 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
06:56:18.799 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
06:56:18.803 DEBUG __init__:172 - Creating locations and settings tables
06:56:18.804 DEBUG __init__:142 - Executing sql
06:56:18.805 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
06:56:18.807 DEBUG __init__:142 - Executing sql
06:56:18.808 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
06:56:18.809 DEBUG test_settings:25 - Adding fake data to new database
06:56:18.810 DEBUG __init__:182 - Adding locations to database
06:56:19.011 DEBUG __init__:191 - Adding units to database
06:56:19.011 DEBUG __init__:142 - Executing sql
06:56:19.012 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
06:56:19.406 INFO globals:56 - ************************************************************
06:56:19.411 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
06:56:19.415 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
06:56:19.576 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
06:56:19.577 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
06:56:23.482 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 3551
06:56:24.741 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
06:56:24.820 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:24.933 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:56:25.498 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:25.554 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:56:26.013 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:56:26.185 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:56:26.351 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:56:26.568 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:26.618 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:56:27.088 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:27.140 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:56:27.590 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:56:27.762 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:56:27.853 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:56:27.892 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:56:27.932 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:56:27.972 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:56:28.153 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:28.205 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:56:28.206 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
06:56:28.239 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:56:28.280 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
06:56:28.281 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
06:56:28.415 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:28.416 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:56:28.490 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:28.491 DEBUG _uinput:332 - Tapping at: 687,1208
06:56:28.593 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:28.986 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
06:56:29.742 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:29.846 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
06:56:30.681 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:56:30.741 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:56:30.834 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:30.835 DEBUG _uinput:332 - Tapping at: 384,347
06:56:30.944 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:31.027 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:56:31.757 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:31.814 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:56:32.571 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:32.572 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:56:32.659 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:56:32.746 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:32.750 DEBUG _uinput:332 - Tapping at: 99,455
06:56:32.975 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:33.054 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
06:56:33.823 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:33.900 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
06:56:34.707 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:34.708 DEBUG _uinput:332 - Tapping at: 384,491
06:56:34.810 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:34.874 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:56:35.652 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:35.744 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:56:36.546 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:36.548 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:56:36.671 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:56:36.797 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:36.797 DEBUG _uinput:332 - Tapping at: 99,636
06:56:36.964 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:37.023 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'cancelButton'}
06:56:37.862 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:37.863 DEBUG _uinput:332 - Tapping at: 126,130
06:56:37.965 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:38.058 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:56:38.843 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:38.912 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:56:39.377 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:56:39.551 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:56:39.769 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:56:40.206 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:40.281 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:56:40.779 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:40.830 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:56:41.279 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:56:41.484 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
06:56:41.586 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:56:41.628 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
06:56:41.670 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:56:41.730 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
06:56:42.079 INFO testcase:540 - waiting for process to exit.
06:56:42.080 INFO testcase:542 - Killing process 3551
06:56:43.093 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
06:56:43.139 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
06:56:43.148 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
06:56:43.161 DEBUG __init__:172 - Creating locations and settings tables
06:56:43.161 DEBUG __init__:142 - Executing sql
06:56:43.162 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
06:56:43.164 DEBUG __init__:142 - Executing sql
06:56:43.165 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
06:56:43.166 DEBUG test_settings:25 - Adding fake data to new database
06:56:43.167 DEBUG __init__:182 - Adding locations to database
06:56:43.195 DEBUG __init__:191 - Adding units to database
06:56:43.196 DEBUG __init__:142 - Executing sql
06:56:43.197 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
06:56:43.216 INFO globals:56 - ************************************************************
06:56:43.217 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale (with touch)
06:56:43.218 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
06:56:43.223 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
06:56:43.224 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
06:56:46.082 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 3654
06:56:47.924 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
06:56:47.995 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:48.058 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:56:48.600 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:48.654 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:56:49.097 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:56:49.265 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:56:49.451 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:56:49.798 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:49.948 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:56:49.949 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
06:56:49.987 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:56:50.031 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
06:56:50.032 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
06:56:50.132 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:50.133 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:56:50.242 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:50.243 DEBUG _uinput:332 - Tapping at: 687,1208
06:56:50.349 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:50.747 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
06:56:51.513 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:51.579 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
06:56:52.425 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:56:52.491 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:56:52.624 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:52.626 DEBUG _uinput:332 - Tapping at: 384,347
06:56:52.730 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:52.809 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:56:53.549 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:53.610 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:56:54.388 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:54.388 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:56:54.437 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:56:54.548 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:54.549 DEBUG _uinput:332 - Tapping at: 99,455
06:56:54.771 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:54.839 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
06:56:55.613 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:55.614 DEBUG _uinput:332 - Tapping at: 642,130
06:56:55.718 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:56.123 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
06:56:56.979 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:57.043 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:56:57.572 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:57.649 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:56:58.108 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:56:58.291 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:56:58.461 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:56:58.684 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:58.744 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:56:58.745 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
06:56:58.783 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:56:58.829 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
06:56:58.831 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
06:56:58.932 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:58.933 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:56:59.000 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:56:59.002 DEBUG _uinput:332 - Tapping at: 687,1208
06:56:59.104 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:56:59.356 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
06:57:00.118 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:00.186 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
06:57:00.971 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:57:01.025 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:57:01.133 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:57:01.134 DEBUG _uinput:332 - Tapping at: 99,347
06:57:01.240 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:01.313 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:57:02.067 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:02.165 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
06:57:03.013 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:57:03.014 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
06:57:03.066 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'celsiusOption'}
06:57:03.313 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:57:03.314 DEBUG _uinput:332 - Tapping at: 384,347
06:57:03.483 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:03.552 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
06:57:04.334 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:57:04.337 DEBUG _uinput:332 - Tapping at: 642,130
06:57:04.439 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:04.898 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
06:57:05.477 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:05.531 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:57:06.038 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:57:06.096 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
06:57:06.567 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
06:57:06.766 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:57:06.999 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
06:57:07.360 INFO testcase:540 - waiting for process to exit.
06:57:07.360 INFO testcase:542 - Killing process 3654
06:57:08.366 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale(with touch)
ADB_RC=0
command_type
testcase_test