Bug 1491243 - remove feed bits from puppeteer page info code, r=whimboo

Depends on D5982

Differential Revision: https://phabricator.services.mozilla.com/D6073

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Gijs Kruitbosch 2018-09-18 06:06:28 +00:00
Родитель 6b518d3722
Коммит 654195f783
2 изменённых файлов: 1 добавлений и 17 удалений

Просмотреть файл

@ -23,9 +23,6 @@ class TestPageInfoWindow(PuppeteerMixin, MarionetteTestCase):
self.assertEqual(page_info.deck.element.get_property('localName'), 'deck')
# feed panel
self.assertEqual(page_info.deck.feed.element.get_property('localName'), 'vbox')
# general panel
self.assertEqual(page_info.deck.general.element.get_property('localName'), 'vbox')

Просмотреть файл

@ -19,8 +19,7 @@ class Deck(UIBaseLib):
:returns: :class:`Panel` instance
"""
mapping = {'feedPanel': FeedPanel,
'generalPanel': GeneralPanel,
mapping = {'generalPanel': GeneralPanel,
'mediaPanel': MediaPanel,
'permPanel': PermissionsPanel,
'securityPanel': SecurityPanel
@ -31,14 +30,6 @@ class Deck(UIBaseLib):
# Properties for visual elements of the deck #
@property
def feed(self):
"""The :class:`FeedPanel` instance for the feed panel.
:returns: :class:`FeedPanel` instance.
"""
return self._create_panel_for_id('feedPanel')
@property
def general(self):
"""The :class:`GeneralPanel` instance for the general panel.
@ -139,10 +130,6 @@ class PageInfoPanel(Panel):
return self.window.window_element.find_element(By.ID, name + 'Tab')
class FeedPanel(PageInfoPanel):
pass
class GeneralPanel(PageInfoPanel):
pass