~allanlesage/+junk/reboot-instead-of-remount-ro

« back to all changes in this revision

Viewing changes to ubuntu_system_tests/helpers/webbrowser/_cpo.py

new test: download file for which an app is already installed on system.
Also move the download_image test to the DownloadWithBrowserSystemTest class.

Approved by Sergio Cazzolato, manually merged by Omer Akram.

Show diffs side-by-side

added added

removed removed

Lines of Context:
367
367
    def _get_tagger_button(self):
368
368
        return self._get_button('Tagger')
369
369
 
 
370
    def _get_media_player_button(self):
 
371
        return self._get_button('Media Player')
 
372
 
370
373
    def pick_gallery(self):
371
374
        self.pointing_device.click_object(self._get_gallery_button())
372
375
        self.wait_until_destroyed()
379
382
        self.pointing_device.click_object(self._get_tagger_button())
380
383
        self.wait_until_destroyed()
381
384
 
 
385
    def pick_media_player(self):
 
386
        self.pointing_device.click_object(self._get_media_player_button())
 
387
        self.wait_until_destroyed()
 
388
 
382
389
 
383
390
class Dialog(uitk.UbuntuUIToolkitCustomProxyObjectBase):
384
391
    """CPO to represent download options dialog."""