← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1236464] Re: Add emulator for Swipe to delete confirmation

 

** Changed in: ubuntu-ui-toolkit
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1236464

Title:
  Add emulator for Swipe to delete confirmation

Status in Ubuntu UI Toolkit:
  Fix Released
Status in “ubuntu-ui-toolkit” package in Ubuntu:
  Fix Released

Bug description:
  At the moment it is not possible to reliably create autopilot tests
  that include the slide-to-delete behavior in an application.

  An AP test can currently slide the list item away, but to complete the slide-to-delete action it needs to click on the "delete" button. The position of this button is relative to the size of the item and the calculation for it is completely internal to the list view item.
  Therefore it's impossible to reliably click on the button as part of a test, since we can only guess where the button will be.

  To fix this we need the uitk to export emulators that allow us to
  complete the slide-to-delete gesture but providing a function that
  will click on the delete button, similarly to the emulators already
  provided for revealing the toolbar.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1236464/+subscriptions