зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1182079 - Fix intermittent test failure loading the Loop's ui-showcase on debug builds by extending the page load timeout, and improve the failure naming. r=andreio
This commit is contained in:
Родитель
e19231c364
Коммит
83731ab0f1
|
@ -72,7 +72,9 @@ class BaseTestFrontendUnits(MarionetteTestCase):
|
|||
|
||||
# This extends the timeout for find_element. We need this as the tests
|
||||
# take an amount of time to run after loading, which we have to wait for.
|
||||
self.marionette.set_search_timeout(60000)
|
||||
self.marionette.set_search_timeout(120000)
|
||||
|
||||
self.marionette.timeouts("page load", 120000)
|
||||
|
||||
# srcdir_path should be the directory relative to this file.
|
||||
def set_server_prefix(self, srcdir_path):
|
||||
|
|
|
@ -6,10 +6,10 @@ sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'shared'))
|
|||
from frontend_tester import BaseTestFrontendUnits
|
||||
|
||||
|
||||
class TestDesktopUnits(BaseTestFrontendUnits):
|
||||
class TestStandaloneUnits(BaseTestFrontendUnits):
|
||||
|
||||
def setUp(self):
|
||||
super(TestDesktopUnits, self).setUp()
|
||||
super(TestStandaloneUnits, self).setUp()
|
||||
self.set_server_prefix("../standalone/")
|
||||
|
||||
def test_units(self):
|
||||
|
|
|
@ -6,10 +6,10 @@ sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'shared'))
|
|||
from frontend_tester import BaseTestFrontendUnits
|
||||
|
||||
|
||||
class TestDesktopUnits(BaseTestFrontendUnits):
|
||||
class TestUiShowcaseUnits(BaseTestFrontendUnits):
|
||||
|
||||
def setUp(self):
|
||||
super(TestDesktopUnits, self).setUp()
|
||||
super(TestUiShowcaseUnits, self).setUp()
|
||||
self.set_server_prefix("../../ui/")
|
||||
|
||||
def test_units(self):
|
||||
|
|
Загрузка…
Ссылка в новой задаче