messaging_app.tests.test_messaging.MessagingTestCaseWithExistingThread.test_delete_multiple_messages failed on mako #91

Bug #1332576 reported by Brendan Donegan
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
messaging-app
Fix Released
Undecided
Unassigned

Bug Description

This test fails on mako image #91 with the following error:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/messaging_app/tests/test_messaging.py", line 485, in test_delete_multiple_messages
    self.main_view.enable_messages_selection_mode()
  File "/usr/lib/python2.7/dist-packages/messaging_app/emulators.py", line 260, in enable_messages_selection_mode
    self.long_press(message)
  File "/usr/lib/python2.7/dist-packages/messaging_app/emulators.py", line 208, in long_press
    self.pointing_device.move_to_object(obj)
  File "/usr/lib/python2.7/dist-packages/autopilot/input/__init__.py", line 665, in move_to_object
    x, y = get_center_point(object_proxy)
  File "/usr/lib/python2.7/dist-packages/autopilot/input/_common.py", line 44, in get_center_point
    x, y, w, h = object_proxy.globalRect
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 520, in __getattr__
    self.refresh_state()
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 474, in refresh_state
    _, new_state = self.get_new_state()
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 564, in get_new_state
    raise StateNotFoundError(self.__class__.__name__, id=self.id)
StateNotFoundError: Object not found with name 'MessageDelegate' and properties {'id': 24}.

Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

This is reproducible locally.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in messaging-app (Ubuntu):
status: New → Confirmed
Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

From Leo:

"It seems like the MessageDelegate that autopilot selects changes by the time that we try to click it"

affects: messaging-app (Ubuntu) → messaging-app
Changed in messaging-app:
status: Confirmed → New
tags: added: lt-20140620
tags: added: lt-category-noimpact lt-date-20140620 lt-prio-low
removed: lt-20140620
Revision history for this message
Bill Filler (bfiller) wrote :

all tests passing now

Changed in messaging-app:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.