Testcase: test_click_element

Build #:246:20150705:20150529.1
Arch:mako (Nexus 4)
Release:wily
Variant:touch
Artifacts
Console Log

Failure explanation

This test failure has not yet been categorized.
Log in to edit.

Test case data

testcase
test_click_element
testsuite
ubuntuuitoolkit.tests.custom_proxy_objects.test_qquicklistview.QQuickListViewTestCase
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Jul  5 13:18:59 ubuntu-phablet powerd[967]: handle_requestSysState from :1.83 (active) - ACTIVE (1)
Jul  5 13:18:59 ubuntu-phablet powerd[967]: name_watch_add: looking for :1.83
Jul  5 13:18:59 ubuntu-phablet powerd[967]: watching :1.83 to see when it disappears on dbus
Jul  5 13:18:59 ubuntu-phablet powerd[967]: libsuspend: acquire_wake_lock: powerd_power_request
Jul  5 13:18:59 ubuntu-phablet powerd[967]: handle_requestSysState - SUCCESS
Jul  5 13:18:59 ubuntu-phablet powerd[967]: Enqueue state change to ACTIVE
Jul  5 13:18:59 ubuntu-phablet powerd[967]: queue empty && state == current, discarding
Jul  5 13:18:59 ubuntu-phablet powerd[967]: libsuspend: release_wake_lock: powerd_power_request
Jul  5 13:19:07 ubuntu-phablet powerd[967]: handle_clearSysState from :1.83, cookie: 4b6cd8c9-650f-48f3-95f3-b41aafb06887
Jul  5 13:19:07 ubuntu-phablet powerd[967]: clear_sys_request: active - :1.83
Jul  5 13:19:07 ubuntu-phablet powerd[967]: name_watch_remove: looking for :1.83
Jul  5 13:19:07 ubuntu-phablet powerd[967]: name_watch: ref_count for :1.83 is now 0
Jul  5 13:19:07 ubuntu-phablet powerd[967]: no longer watching :1.83, there are no more requests
Jul  5 13:19:07 ubuntu-phablet powerd[967]: libsuspend: acquire_wake_lock: powerd_power_request
Jul  5 13:19:07 ubuntu-phablet powerd[967]: Enqueue state change to ACTIVE
Jul  5 13:19:07 ubuntu-phablet powerd[967]: queue empty && state == current, discarding
Jul  5 13:19:07 ubuntu-phablet powerd[967]: libsuspend: release_wake_lock: powerd_power_request
Jul  5 13:19:08 ubuntu-phablet dbus[844]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Jul  5 13:19:08 ubuntu-phablet dbus[844]: [system] Successfully activated service 'com.canonical.PropertyService'
}}}

Application Log (tmp7fbcodv1): {{{
Loading module: 'libubuntu_application_api_touch_mirclient.so.2.9.0'
Testability driver loaded. Wire protocol version is "1.4".
Testability driver loaded. Wire protocol version is "1.4".
Unable to register object on D-Bus! Testability interface will not be available.
UbuntuWindow - regular geometry
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=1080, height=846)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
}}}

test-log: {{{
13:18:59.047 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
13:18:59.053 INFO _launcher:120 - Attempting to launch application 'tmp7fbcodv1' with URIs '' via upstart-app-launch
13:19:04.421 INFO logging:45 - QQuickListView: Click an element from the list. Arguments ('testListElement0',). Keyword arguments: {}.
13:19:04.692 INFO logging:45 - QQuickListView: Make the child visible. Arguments (<ubuntuuitoolkit._custom_proxy_objects.listitems.Standard object at
0xb46aea30>,). Keyword arguments: {}.
13:19:05.410 DEBUG _flickable:122 - The element is already visible.
13:19:05.446 DEBUG _common:45 - Moving to object's globalRect coordinates.
13:19:05.447 DEBUG _uinput:485 - Tapping at: 432,143
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_qquicklistview.py", line 88, in test_click_element
    self.assertEqual(self.label.text, 'testListElement0')
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 338, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 423, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: 'No element clicked.' != 'testListElement0'

command_type
testcase_test

Artifacts ›   Console Log ›