Bug 1301598 - Fix test_ssl_disabled_error_page.py to timeout after 30s for the page load
MozReview-Commit-ID: EeNRLb2EzVI
--- a/testing/firefox-ui/tests/functional/security/test_ssl_disabled_error_page.py
+++ b/testing/firefox-ui/tests/functional/security/test_ssl_disabled_error_page.py
@@ -44,10 +44,10 @@ class TestSSLDisabledErrorPage(FirefoxTe
short_description.get_property('textContent'))
self.assertIn('mozqa.com', short_description.get_property('textContent'))
# Verify that the "Restore" button appears and works
reset_button = self.marionette.find_element(By.ID, 'prefResetButton')
reset_button.click()
# With the preferences reset, the page has to load correctly
- Wait(self.marionette).until(expected.element_present(By.LINK_TEXT,
- 'http://quality.mozilla.org'))
+ Wait(self.marionette, timeout=self.browser.timeout_page_load).until(
+ expected.element_present(By.LINK_TEXT, 'http://quality.mozilla.org'))