Testcase: test_settings.TestSettings.test_switch_scale

Build #:163:20140204.1: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/tmp5FBRjR/testsuites/ubuntu-weather-app-autopilot
returncode
0
command
autopilot-run ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale
stdout
ADB_RC=0
23:38:49.114 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

23:38:49.482 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
23:38:49.483 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
23:38:49.486 DEBUG __init__:172 - Creating locations and settings tables
23:38:49.487 DEBUG __init__:142 - Executing sql
23:38:49.487 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
23:38:49.489 DEBUG __init__:142 - Executing sql
23:38:49.489 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
23:38:49.490 DEBUG test_settings:25 - Adding fake data to new database
23:38:49.491 DEBUG __init__:182 - Adding locations to database
23:38:49.556 DEBUG __init__:191 - Adding units to database
23:38:49.557 DEBUG __init__:142 - Executing sql
23:38:49.557 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
23:38:49.886 INFO globals:56 - ************************************************************
23:38:49.887 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale (with touch)
23:38:49.887 WARNING testcase:113 - No tracing available - install the python-autopilot-trace package!
23:38:50.022 WARNING testcase:149 - Process manager backend unavailable, application snapshot support disabled.
23:38:50.022 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
23:38:52.849 INFO _launcher:81 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 6027
23:38:54.927 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
23:38:55.052 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:38:55.141 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
23:38:55.725 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:38:55.783 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
23:38:56.224 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
23:38:56.383 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
23:38:56.543 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
23:38:56.750 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:38:56.800 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:38:56.801 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
23:38:56.835 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:38:56.876 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
23:38:56.877 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
23:38:56.969 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:38:56.971 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:38:57.031 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:38:57.032 DEBUG _uinput:332 - Tapping at: 687,1208
23:38:57.134 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:38:57.606 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
23:38:58.400 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:38:58.469 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
23:38:59.252 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
23:38:59.299 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
23:38:59.361 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:38:59.362 DEBUG _uinput:332 - Tapping at: 384,347
23:38:59.464 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:38:59.528 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
23:39:00.291 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:00.348 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
23:39:01.122 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:39:01.127 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
23:39:01.173 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
23:39:01.266 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:39:01.267 DEBUG _uinput:332 - Tapping at: 99,455
23:39:01.470 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:01.553 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
23:39:02.371 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:39:02.375 DEBUG _uinput:332 - Tapping at: 642,130
23:39:02.478 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:02.904 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
23:39:03.512 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:03.572 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
23:39:04.167 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:04.234 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
23:39:04.699 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
23:39:04.861 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
23:39:05.024 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
23:39:05.243 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:05.305 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:39:05.306 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
23:39:05.339 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:39:05.386 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
23:39:05.387 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
23:39:05.482 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:39:05.484 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:39:05.547 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:39:05.548 DEBUG _uinput:332 - Tapping at: 687,1208
23:39:05.650 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:05.958 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
23:39:06.723 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:06.804 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
23:39:07.644 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
23:39:07.693 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
23:39:07.776 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:39:07.777 DEBUG _uinput:332 - Tapping at: 99,347
23:39:07.879 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:07.991 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
23:39:08.764 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:08.848 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
23:39:09.592 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:39:09.593 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
23:39:09.641 DEBUG dbus:431 - Selecting objects of type OptionSelectorDelegate with attributes: {'objectName': 'celsiusOption'}
23:39:09.785 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:39:09.786 DEBUG _uinput:332 - Tapping at: 384,347
23:39:09.948 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:10.048 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'confirmButton'}
23:39:10.877 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:39:10.878 DEBUG _uinput:332 - Tapping at: 642,130
23:39:10.981 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:11.387 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'objectName': 'LoadingSpinner'}
23:39:11.946 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:12.002 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
23:39:12.600 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:39:12.654 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
23:39:13.155 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
23:39:13.318 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
23:39:13.499 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
23:39:13.722 INFO _launcher:251 - waiting for process to exit.
23:39:13.723 INFO _launcher:267 - Killing process 6027
23:39:14.765 INFO testresult:43 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale(with touch)
ADB_RC=0
command_type
testcase_test