Testcase: test_settings.TestSettings.test_switch_scale_cancel

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

17:01:59.034 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu2
17:01:59.057 DEBUG __init__:149 - Removing existing database at /home/phablet/.local/share/com.ubuntu.weather/Databases
17:01:59.059 DEBUG __init__:163 - Creating blank db on filesystem /home/phablet/.local/share/com.ubuntu.weather/Databases
17:01:59.063 DEBUG __init__:172 - Creating locations and settings tables
17:01:59.064 DEBUG __init__:142 - Executing sql
17:01:59.065 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS Locations(id INTEGER PRIMARY KEY AUTOINCREMENT, data TEXT, date TEXT)
17:01:59.067 DEBUG __init__:142 - Executing sql
17:01:59.068 DEBUG __init__:143 - CREATE TABLE IF NOT EXISTS settings(key TEXT UNIQUE, value TEXT)
17:01:59.069 DEBUG test_settings:25 - Adding fake data to new database
17:01:59.070 DEBUG __init__:182 - Adding locations to database
17:01:59.111 DEBUG __init__:191 - Adding units to database
17:01:59.112 DEBUG __init__:142 - Executing sql
17:01:59.113 DEBUG __init__:143 - INSERT INTO settings(key, value) VALUES('units', 'metric'), ('wind_units', 'kmh'), ('precip_units', 'mm')
17:01:59.525 INFO globals:56 - ************************************************************
17:01:59.527 INFO globals:57 - Starting test ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel (with touch)
17:01:59.528 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
17:01:59.728 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
17:01:59.728 DEBUG __init__:66 - Running via click package
initctl: Unknown instance: com.ubuntu.weather_weather_1.0.168
17:02:02.557 INFO testcase:352 - Click package com.ubuntu.weather_weather_1.0.168 has been launched with PID 5716
17:02:04.462 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
17:02:04.530 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:04.591 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
17:02:05.105 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:05.163 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
17:02:05.610 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
17:02:05.780 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
17:02:05.962 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
17:02:06.204 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:06.251 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
17:02:06.715 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:06.766 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
17:02:07.231 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
17:02:07.391 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
17:02:07.476 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
17:02:07.514 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
17:02:07.552 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
17:02:07.590 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
17:02:08.021 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:08.070 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:02:08.071 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
17:02:08.123 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:02:08.175 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('SettingsButton',). Keyword arguments: {}.
17:02:08.176 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'SettingsButton'}
17:02:08.369 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:02:08.371 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
17:02:08.437 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:02:08.437 DEBUG _uinput:332 - Tapping at: 687,1208
17:02:08.539 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:08.933 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
17:02:09.730 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:09.812 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'TemperatureUnitsSelector'}
17:02:10.632 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:02:10.682 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:02:10.756 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:02:10.756 DEBUG _uinput:332 - Tapping at: 384,347
17:02:10.861 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:10.967 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
17:02:11.692 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:11.754 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
17:02:12.538 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:02:12.539 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:02:12.589 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:02:12.692 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:02:12.694 DEBUG _uinput:332 - Tapping at: 99,455
17:02:12.894 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:12.964 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
17:02:13.744 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:13.831 DEBUG dbus:431 - Selecting objects of type OptionSelector with attributes: {'objectName': 'WindUnitsSelector'}
17:02:14.659 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:02:14.661 DEBUG _uinput:332 - Tapping at: 384,491
17:02:14.767 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:14.843 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
17:02:15.618 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:15.702 DEBUG dbus:431 - Selecting objects of type ComposerSheet with attributes: {'objectName': 'SettingsSheet'}
17:02:16.474 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:02:16.476 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:02:16.530 DEBUG dbus:431 - Selecting objects of type ShapeItem with attributes: {}
17:02:16.601 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:02:16.602 DEBUG _uinput:332 - Tapping at: 99,636
17:02:16.799 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:16.890 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'cancelButton'}
17:02:17.712 DEBUG _common:35 - Moving to object's globalRect coordinates.
17:02:17.713 DEBUG _uinput:332 - Tapping at: 126,130
17:02:17.817 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:17.941 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
17:02:18.457 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:18.558 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
17:02:18.998 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
17:02:19.167 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
17:02:19.386 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'CurrentTempText'}
17:02:19.670 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:19.758 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
17:02:20.329 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
17:02:20.382 DEBUG dbus:431 - Selecting objects of type LocationTab with attributes: {'visible': True}
17:02:20.858 DEBUG dbus:431 - Selecting objects of type QQuickItem with attributes: {'focus': True}
17:02:21.049 DEBUG dbus:431 - Selecting objects of type WeatherDetailComponent with attributes: {'objectName': 'WindSpeedValue'}
17:02:21.139 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
17:02:21.184 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailUnit'}
17:02:21.234 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
17:02:21.348 DEBUG dbus:431 - Selecting objects of type QQuickText with attributes: {'objectName': 'WeatherDetailValue'}
17:02:21.653 INFO testcase:540 - waiting for process to exit.
17:02:21.654 INFO testcase:542 - Killing process 5716
17:02:22.669 INFO testresult:37 - OK: ubuntu_weather_app.tests.test_settings.TestSettings.test_switch_scale_cancel(with touch)
ADB_RC=0
command_type
testcase_test