Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #18686 from bebef1987/gallery
Browse files Browse the repository at this point in the history
Bug 1000062 - Delete some more redundant tests
  • Loading branch information
Zac committed Apr 25, 2014
2 parents 9f12ef0 + e4464b7 commit f4c81a9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 47 deletions.
Expand Up @@ -16,7 +16,6 @@ class FullscreenImage(Base):
_confirm_delete_locator = (By.ID, 'confirm-ok')
_edit_photo_locator = (By.ID, 'fullscreen-edit-button-tiny')
_tile_view_locator = (By.ID, 'fullscreen-back-button-tiny')
_share_button_locator = (By.ID, 'fullscreen-share-button-tiny')

def __init__(self, marionette):
Base.__init__(self, marionette)
Expand Down Expand Up @@ -76,19 +75,10 @@ def tap_tile_view_button(self):
from gaiatest.apps.gallery.app import Gallery
return Gallery(self.marionette)

def tap_share_button(self):
self.marionette.find_element(*self._share_button_locator).tap()
from gaiatest.apps.system.regions.activities import Activities
return Activities(self.marionette)

@property
def photo_toolbar_width(self):
return self.marionette.execute_script('return document.getElementById("fullscreen-toolbar").offsetWidth')

@property
def is_image_displayed(self):
return self.is_element_displayed(*self._current_image_locator)

@property
def current_scale(self):
style = self.marionette.find_element(*self._current_image_locator).get_attribute('style')
Expand Down
Expand Up @@ -19,9 +19,6 @@ skip-if = device == "desktop"
[test_gallery_delete_image.py]
skip-if = device == "desktop"

[test_gallery_share_menu.py]
skip-if = device == "desktop"

[test_gallery_edit_photo.py]
skip-if = device == "desktop"

Expand Down

This file was deleted.

0 comments on commit f4c81a9

Please sign in to comment.