← Back to team overview

touch-packages team mailing list archive

[Bug 1357396] Re: test_slider_zoom_in_with_touch fails because pinch gesture doesn't work

 

** Also affects: camera-app (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: camera-app (Ubuntu)
       Status: New => Confirmed

** Changed in: camera-app (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to camera-app in Ubuntu.
https://bugs.launchpad.net/bugs/1357396

Title:
  test_slider_zoom_in_with_touch fails because pinch gesture doesn't
  work

Status in camera-app:
  Confirmed
Status in camera-app package in Ubuntu:
  Confirmed

Bug description:
  Currently this test is failing with this error:

  Traceback (most recent call last):
    File "/home/phablet/autopilot/camera_app/tests/test_zoom.py", line 54, in test_slider_zoom_in
      zoom_control.value, Eventually(Equals(zoom_control.maximumValue)))
    File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 406, in assertThat
      raise mismatch_error
  testtools.matchers._impl.MismatchError: After 10.0 seconds test on ZoomControl.value failed: 59.0 != dbus.Double(1.0, variant_level=1)

  Following the tests, it seems that the pinch gesture that's being
  attempted in the test is not being registered. Instead it seems to be
  registering a press on the screen (because the focus graphic appears).
  Pinching manually works, so there is nothing wrong there.

To manage notifications about this bug go to:
https://bugs.launchpad.net/camera-app/+bug/1357396/+subscriptions