autopilot failure with SwipeToDeleteTestCase

Bug #1330352 reported by Timo Jyrinki
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Fix Released
Undecided
Leo Arias
notes-app
New
Undecided
Unassigned
messaging-app (Ubuntu)
Fix Released
Undecided
Unassigned
notes-app (Ubuntu)
Fix Released
Undecided
Unassigned
ubuntu-ui-toolkit (Ubuntu)
Fix Released
Undecided
Unassigned
Vivid
New
Undecided
Unassigned

Bug Description

Two additional UITK failures are seen in automated autopilot runs with Qt 5.3:

ubuntuuitoolkit.tests.custom_proxy_objects.test_listitems.SwipeToDeleteTestCase.test_swipe_item_to_left
ubuntuuitoolkit.tests.custom_proxy_objects.test_listitems.SwipeToDeleteTestCase.test_delete_item_moving_left

These may be related to additional failures in apps:
messaging_app.tests.test_messaging.TestMessaging.test_delete_message_swipe_left(with touch)
messaging_app.tests.test_messaging.TestMessaging.test_delete_message_thread_swipe_left(with touch)
ubuntu_calculator_app.tests.test_simple_page.TestSimplePage.test_swipe_delete_calculation_right_left

The log ends with:
AssertionError: After 10.0 seconds test on Standard.implicitHeight failed: 0 != dbus.Double(112.0, variant_level=1)

Related branches

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :
Revision history for this message
Zsombor Egri (zsombi) wrote :

This functionality should be removed from applications (i.e. delete item by swipe to left) as the delete from that direction was deprecated by design, and will be replaced by contextual options. Delete is only performed with swipe to right.

There will be new CPOs coming for the delete, see https://code.launchpad.net/~elopio/ubuntu-ui-toolkit/deprecate_swipe_to_left/+merge/223008

Revision history for this message
Leo Arias (elopio) wrote :

Removed the 5.3 tag, because this is not caused by 5.3. Just as Zsomobr mentioned, these tests will change or be removed

https://code.launchpad.net/~elopio/messaging-app/swipe_to_delete/+merge/223142

tags: removed: qt5.3
Leo Arias (elopio)
summary: - UITK + Qt 5.3 autopilot failure with SwipeToDeleteTestCase
+ autopilot failure with SwipeToDeleteTestCase
Changed in ubuntu-ui-toolkit:
status: New → In Progress
assignee: nobody → Leo Arias (elopio)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package messaging-app - 0.1+14.10.20140617-0ubuntu1

---------------
messaging-app (0.1+14.10.20140617-0ubuntu1) utopic; urgency=low

  [ Leo Arias ]
  * Removed the tests that swipe to the left. Updated the tests to use
    the swipe_to_delete helper from the toolkit. (LP: #1330352)
 -- Ubuntu daily release <email address hidden> Tue, 17 Jun 2014 23:12:42 +0000

Changed in messaging-app (Ubuntu):
status: New → Fix Released
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/staging at revision None, scheduled for release in ubuntu-ui-toolkit, milestone Unknown

Changed in ubuntu-ui-toolkit:
status: In Progress → Fix Committed
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

I added notes-app here, since it now started failing: http://ci.ubuntu.com/smokeng/utopic/touch/mako/120:20140708.2:20140708/8940/notes_app/

The test should be probably removed since deletion now happens by swiping right.

Leo Arias (elopio)
tags: added: qa-broken-test qa-daily-testing
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package notes-app - 1.4+14.10.20140711-0ubuntu1

---------------
notes-app (1.4+14.10.20140711-0ubuntu1) utopic; urgency=low

  [ Brendan Donegan ]
  * Remove test_slide_to_delete_left as this test case is no longer
    valid. Remove deprecated direction argument from swipe_to_delete
    call. (LP: #1330352)
 -- Ubuntu daily release <email address hidden> Fri, 11 Jul 2014 10:23:47 +0000

Changed in notes-app (Ubuntu):
status: New → Fix Released
Zoltan Balogh (bzoltan)
Changed in ubuntu-ui-toolkit:
status: Fix Committed → Fix Released
Zsombor Egri (zsombi)
Changed in ubuntu-ui-toolkit (Ubuntu):
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.