зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
6b518d3722
Коммит
654195f783
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче