Activity log for bug #1245651

Date Who What changed Old value New value Message
2013-10-28 19:56:02 Nekhelesh Ramananthan bug added bug
2013-10-28 19:56:34 Nekhelesh Ramananthan summary Swipe to delete emulator function fails with statenotfound error confirm_removal() emulator function fails with statenotfound error
2013-10-28 19:57:07 Nekhelesh Ramananthan description Rev 810 (https://code.launchpad.net/~renatofilho/ubuntu-ui-toolkit/fix-1236464/+merge/190496) added UITK emulator function to test swipe-to-delete and confirm delete actions. On utilising this emulator function on a list item, one can notice (visually) that the emulator function swipe_to_delete() and confirm_removal() work as expect i.e they swipe the list item and click the delete button. However the tests still fail. The error message shown is, Traceback (most recent call last): File "/home/krnekhelesh/Documents/Clock/use-default-swipe-delete/tests/autopilot/ubuntu_clock_app/tests/test_timer.py", line 118, in test_delete_preset first_preset.confirm_removal() File "/usr/lib/python2.7/dist-packages/ubuntuuitoolkit/emulators.py", line 378, in confirm_removal self.implicitHeight.wait_for(0) File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 213, in wait_for _, new_state = self.parent.get_new_state() File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 537, in get_new_state raise StateNotFoundError(self.__class__.__name__, id=self.id) StateNotFoundError: State not found for class 'Standard' and filters {'id': dbus.Int64(76L, variant_level=1)}. Ran 1 test in 19.179s FAILED (failures=1) For reference: Please take a look at MP https://code.launchpad.net/~nik90/ubuntu-clock-app/use-default-swipe-delete/+merge/191905 which utilises the emulator function and is a excellent example to reproduce this bug. Rev 810 (https://code.launchpad.net/~renatofilho/ubuntu-ui-toolkit/fix-1236464/+merge/190496) added UITK emulator function to test swipe-to-delete and confirm delete a list item standard. On utilising this emulator function on a list item, one can notice (visually) that the emulator function swipe_to_delete() and confirm_removal() work as expect i.e they swipe the list item and click the delete button. However the tests still fail. The error message shown is, Traceback (most recent call last):   File "/home/krnekhelesh/Documents/Clock/use-default-swipe-delete/tests/autopilot/ubuntu_clock_app/tests/test_timer.py", line 118, in test_delete_preset     first_preset.confirm_removal()   File "/usr/lib/python2.7/dist-packages/ubuntuuitoolkit/emulators.py", line 378, in confirm_removal     self.implicitHeight.wait_for(0)   File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 213, in wait_for     _, new_state = self.parent.get_new_state()   File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 537, in get_new_state     raise StateNotFoundError(self.__class__.__name__, id=self.id) StateNotFoundError: State not found for class 'Standard' and filters {'id': dbus.Int64(76L, variant_level=1)}. Ran 1 test in 19.179s FAILED (failures=1) For reference: Please take a look at MP https://code.launchpad.net/~nik90/ubuntu-clock-app/use-default-swipe-delete/+merge/191905 which utilises the emulator function and is a excellent example to reproduce this bug.
2013-10-28 20:40:13 Leo Arias ubuntu-ui-toolkit: assignee Leo Arias (elopio)
2013-10-28 20:40:18 Leo Arias ubuntu-ui-toolkit: status New Confirmed
2013-11-08 16:35:51 Launchpad Janitor branch linked lp:~elopio/ubuntu-ui-toolkit/fix-swipe_to_delete
2013-11-08 16:37:02 Leo Arias ubuntu-ui-toolkit: status Confirmed In Progress
2013-11-17 04:41:19 PS Jenkins bot ubuntu-ui-toolkit: status In Progress Fix Committed
2013-11-19 08:58:06 Launchpad Janitor branch linked lp:ubuntu/trusty-proposed/ubuntu-ui-toolkit
2013-11-19 10:41:29 Launchpad Janitor ubuntu-ui-toolkit (Ubuntu): status New Fix Released
2014-10-01 11:18:51 Zoltan Balogh ubuntu-ui-toolkit: status Fix Committed Fix Released