Bug 1373564 - Force enable update staging mode to prevent perma failures for update tests. draft
authorHenrik Skupin <mail@hskupin.info>
Fri, 16 Jun 2017 11:39:23 +0200
changeset 595507 702c2123306fef055313a56535a8655f7eda8953
parent 594702 035c25bef7b5e4175006e63eff10c61c2eef73f1
child 633701 1fd98592c069aa5b6dc15dedc9f6a1dc85ecdb55
push id64333
push userbmo:hskupin@gmail.com
push dateFri, 16 Jun 2017 09:44:10 +0000
bugs1373564, 1370576
milestone56.0a1
Bug 1373564 - Force enable update staging mode to prevent perma failures for update tests. Bug 1370576 disabled staging of application updates, which is not yet supported in our firefox-ui update tests. As result there is a hang and the restart button is never clicked on. This is just a wallpaper fix and full support might still have to be integrated if wanted. MozReview-Commit-ID: 8LF1RKxnMEb
testing/firefox-ui/harness/firefox_ui_harness/runners/update.py
--- a/testing/firefox-ui/harness/firefox_ui_harness/runners/update.py
+++ b/testing/firefox-ui/harness/firefox_ui_harness/runners/update.py
@@ -11,16 +11,17 @@ import mozinstall
 from firefox_ui_harness.runners import FirefoxUITestRunner
 from firefox_ui_harness.testcases import UpdateTestCase
 
 
 DEFAULT_PREFS = {
     # Bug 1355026: Re-enable when support for the new simplified UI update is available
     'app.update.doorhanger': False,
     'app.update.log': True,
+    'app.update.staging.enabled': True,
     'startup.homepage_override_url': 'about:blank',
 }
 
 
 class UpdateTestRunner(FirefoxUITestRunner):
 
     def __init__(self, **kwargs):
         super(UpdateTestRunner, self).__init__(**kwargs)