зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 25505bf601f6 (bug 1326236) for test_update_wizard.py failures a=backout
This commit is contained in:
Родитель
f5487ba06d
Коммит
4ea759de85
|
@ -53,10 +53,6 @@ class TestAboutWindow(PuppeteerMixin, MarionetteTestCase):
|
|||
# downloading panel
|
||||
self.assertEqual(self.deck.downloading.element.get_property('localName'), 'hbox')
|
||||
|
||||
# check deck attributes
|
||||
self.assertIsInstance(self.deck.selected_index, int)
|
||||
self.assertEqual(self.deck.selected_panel, self.deck.check_for_updates)
|
||||
|
||||
def test_open_window(self):
|
||||
"""Test various opening strategies."""
|
||||
def opener(win):
|
||||
|
|
|
@ -60,7 +60,3 @@ class TestUpdateWizard(PuppeteerMixin, MarionetteTestCase):
|
|||
# elements of the downloading panel
|
||||
self.assertEqual(self.wizard.downloading.progress.get_property('localName'),
|
||||
'progressmeter')
|
||||
|
||||
# check wizard attributes
|
||||
self.assertIsInstance(self.wizard.selected_index, int)
|
||||
self.assertEqual(self.wizard.selected_panel, self.wizard.checking)
|
||||
|
|
|
@ -114,7 +114,7 @@ class Deck(UIBaseLib):
|
|||
|
||||
:return: Index of the selected panel.
|
||||
"""
|
||||
return int(self.element.get_property('selectedIndex'))
|
||||
return int(self.element.get_attribute('selectedIndex'))
|
||||
|
||||
@property
|
||||
def selected_panel(self):
|
||||
|
|
|
@ -207,7 +207,7 @@ class Wizard(UIBaseLib):
|
|||
|
||||
:return: Index of the selected panel.
|
||||
"""
|
||||
return int(self.element.get_property('pageIndex'))
|
||||
return int(self.element.get_attribute('pageIndex'))
|
||||
|
||||
@property
|
||||
def selected_panel(self):
|
||||
|
|
Загрузка…
Ссылка в новой задаче