Autopilot test failure using swipe_to_gallery

Bug #1514408 reported by Richard Huddie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Medium
Bill Filler
camera-app
Fix Released
Undecided
Unassigned

Bug Description

Camera-app autopilot tests are failing when using helper method swipe_to_gallery(). Example call stack shown below:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/camera_app/tests/test_capture.py", line 166, in test_hint_after_first_picture
    self.main_window.swipe_to_gallery(self)
  File "/usr/lib/python3/dist-packages/camera_app/emulators/main_window.py", line 140, in swipe_to_gallery
    x, y, w, h = main_view.globalRect
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 416, in __getattr__
    (self.__class__.__name__, name))
AttributeError: Class 'QQuickWindowQmlImpl' has no attribute 'globalRect'.

Related branches

Changed in canonical-devices-system-image:
status: New → Confirmed
Changed in camera-app:
status: New → In Progress
Changed in canonical-devices-system-image:
importance: Undecided → Medium
assignee: nobody → Bill Filler (bfiller)
milestone: none → ww02-2016
Bill Filler (bfiller)
Changed in camera-app:
status: In Progress → Fix Committed
Changed in canonical-devices-system-image:
status: Confirmed → Fix Committed
Changed in camera-app:
status: Fix Committed → Fix Released
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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