~om26er/gallery-app/fix_selection_test

« back to all changes in this revision

Viewing changes to tests/autopilot/gallery_app/emulators/album_view.py

  • Committer: Bill Filler
  • Date: 2014-04-04 16:34:27 UTC
  • mfrom: (918.3.27 gallery-app-album-nav)
  • Revision ID: bill.filler@canonical.com-20140404163427-5yjg1t2tkv6ykou1
merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
        view = self.get_album_view()
39
39
        return view.select_single("PopupPhotoViewer")
40
40
 
 
41
    def get_spread_view(self):
 
42
        """Returns the inner spread view to access the pages"""
 
43
        view = self.get_album_view()
 
44
        return view.select_single("AlbumSpreadViewer", objectName="spreadViewer")
 
45
 
41
46
    def number_of_photos(self):
42
47
        """Returns the numer of visible photos"""
43
48
        return len(self.app.select_many("FramePortrait",