~mutse-young/ubuntu-docviewer-app/trunk

« back to all changes in this revision

Viewing changes to tests/autopilot/ubuntu_docviewer_app/tests/test_docviewer.py

  • Committer: Tarmac
  • Author(s): carla-sella
  • Date: 2015-05-15 12:47:01 UTC
  • mfrom: (127.1.19 test-toc)
  • Revision ID: tarmac-20150515124701-q65mnbh76iix4yqf
First test for testing Docviewer app TOC. Fixes: https://bugs.launchpad.net/bugs/1418652.

Approved by Ubuntu Phone Apps Jenkins Bot, Nicholas Skaggs, Stefano Verzegnassi.

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
        self.launch_app()
61
61
        pdf = self.app.main_view.open_PdfView()
62
62
        pdf.toggle_header_visibility()
63
 
        pdf.click_go_to_page_button()
 
63
        self.app.main_view.click_go_to_page_button()
64
64
        self.go_to_page_no(page_no)
65
65
 
66
66
        self.assertThat(