Testcase: test_simple_page.TestSimplePage.test_edit_mode

Build #:12:20131105:20131031.1
Arch:mako (Nexus 4)
Release:trusty
Variant:touch
Artifacts
Console Log

Test case data

testcase
test_simple_page.TestSimplePage.test_edit_mode
testsuite
/tmp/tmpzom3gI/testsuites/ubuntu-calculator-app-autopilot
returncode
1
command
autopilot-run ubuntu_calculator_app.tests.test_simple_page.TestSimplePage.test_edit_mode
stdout
ADB_RC=0
Loading tests from: /home/phablet/autopilot

23:14:10.427 INFO autopilot:141 - Autopilot Source Version: 1.3.1
Autopilot Package Version: 1.3.1+13.10.20131003.1-0ubuntu2
23:14:11.176 INFO globals:49 - ************************************************************
23:14:11.181 INFO globals:50 - Starting test ubuntu_calculator_app.tests.test_simple_page.TestSimplePage.test_edit_mode (with touch)
23:14:11.185 WARNING testcase:118 - No tracing available - install the python-autopilot-trace package!
23:14:11.291 WARNING testcase:155 - Process manager backend unavailable, application snapshot support disabled.
23:14:11.293 DEBUG __init__:90 - Backed up database
initctl: Unknown instance: com.ubuntu.calculator_calculator_0.1.3.187
23:14:14.113 INFO testcase:352 - Click package com.ubuntu.calculator_calculator_0.1.3.187 has been launched with PID 3825
23:14:15.840 DEBUG dbus:415 - Selecting objects of type MainView with attributes: {}
23:14:15.872 DEBUG dbus:415 - Selecting objects of type CalcKeyboard with attributes: {}
23:14:15.893 DEBUG dbus:415 - Selecting objects of type KeyboardButton with attributes: {'objectName': 'oneButton'}
23:14:15.993 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:14:15.995 DEBUG _uinput:331 - Tapping at: 136,1079
23:14:16.097 DEBUG dbus:415 - Selecting objects of type KeyboardButton with attributes: {'objectName': 'zeroButton'}
23:14:16.255 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:14:16.256 DEBUG _uinput:331 - Tapping at: 219,1199
23:14:16.358 DEBUG dbus:415 - Selecting objects of type KeyboardButton with attributes: {'objectName': 'fiveButton'}
23:14:16.497 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:14:16.498 DEBUG _uinput:331 - Tapping at: 301,959
23:14:16.599 DEBUG dbus:415 - Selecting objects of type KeyboardButton with attributes: {'objectName': 'minusButton'}
23:14:16.696 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:14:16.697 DEBUG _uinput:331 - Tapping at: 631,839
23:14:16.807 DEBUG dbus:415 - Selecting objects of type KeyboardButton with attributes: {'objectName': 'fiveButton'}
23:14:16.982 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:14:16.984 DEBUG _uinput:331 - Tapping at: 301,959
23:14:17.091 DEBUG dbus:415 - Selecting objects of type CalcKeyboard with attributes: {}
23:14:17.159 DEBUG dbus:415 - Selecting objects of type KeyboardButton with attributes: {'objectName': 'equalsButton'}
23:14:17.251 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:14:17.251 DEBUG _uinput:331 - Tapping at: 631,1139
23:14:17.353 DEBUG dbus:415 - Selecting objects of type MainView with attributes: {}
23:14:17.427 DEBUG dbus:415 - Selecting objects of type Screen with attributes: {}
23:14:17.476 DEBUG dbus:415 - Selecting objects of type Screen with attributes: {}
23:14:17.554 DEBUG dbus:415 - Selecting objects of type CalcLabel with attributes: {'objectName': 'result'}
23:14:17.812 DEBUG dbus:415 - Selecting objects of type MainView with attributes: {}
23:14:17.835 DEBUG dbus:415 - Selecting objects of type Screen with attributes: {}
23:14:17.858 DEBUG dbus:415 - Selecting objects of type Screen with attributes: {}
23:14:17.879 DEBUG dbus:415 - Selecting objects of type QQuickItem with attributes: {'objectName': 'editIcon'}
23:14:18.063 DEBUG _common:35 - Moving to object's globalRect coordinates.
23:14:18.063 DEBUG _uinput:331 - Tapping at: 54,510
23:14:18.170 DEBUG dbus:415 - Selecting objects of type TextField with attributes: {'objectName': 'title'}
23:14:28.861 INFO testcase:530 - waiting for process to exit.
23:14:28.862 INFO testcase:532 - Killing process 3825
23:14:29.897 ERROR testresult:35 - FAIL: ubuntu_calculator_app.tests.test_simple_page.TestSimplePage.test_edit_mode(with touch)
23:14:29.901 ERROR testresult:35 - traceback: {{{
Traceback (most recent call last):
File "/home/phablet/autopilot/ubuntu_calculator_app/tests/test_simple_page.py", line 285, in test_edit_mode
self.assertThat(title_label.activeFocus, Eventually(Equals(True)))
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 417, in assertThat
raise MismatchError(matchee, matcher, mismatch, verbose)
MismatchError: After 10.0 seconds test on TextField.activeFocus failed: True != dbus.Boolean(False, variant_level=1)
}}}
ADB_RC=1
command_type
testcase_test