Bug 1494215 - temporarily disable parts of MozMill test content-tabs/test-install-xpi.js. rs=bustage-fix
authorJorg K <jorgk@jorgk.com>
Thu, 27 Sep 2018 22:42:41 +0200
changeset 33250 d9356caafc10dcb3870ad63f23fda19bc9d8d5ad
parent 33249 2d45d62f063c8ca880ab903cb4b44879bcdd0167
child 33251 42e6ccd2c53e639340431048801fad49eed08006
push id387
push userclokep@gmail.com
push dateMon, 10 Dec 2018 21:30:47 +0000
reviewersbustage-fix
bugs1494215
Bug 1494215 - temporarily disable parts of MozMill test content-tabs/test-install-xpi.js. rs=bustage-fix
mail/test/mozmill/content-tabs/test-install-xpi.js
--- a/mail/test/mozmill/content-tabs/test-install-xpi.js
+++ b/mail/test/mozmill/content-tabs/test-install-xpi.js
@@ -112,16 +112,17 @@ function test_install_corrupt_xpi() {
   if (gNotificationBox.currentNotification.priority !=
       gNotificationBox.PRIORITY_CRITICAL_HIGH)
     throw new Error("Unexpected priority used for notification. Wrong Notification? Priority used was: " + gNotificationBox.currentNotification.priority);
 
   // We're done with this test, close the box.
   close_notification_box();
 }
 
+test_install_xpi_offer.__force_skip__ = true; // disabled, see bug 1494215
 function test_install_xpi_offer() {
   click_install_link_and_wait_for_alert("installlink");
 
   // which we want to click on!
   plan_for_modal_dialog("Addons:Install", close_xpinstall_dialog);
   click_notification_box_action_in_current_tab();
   wait_for_modal_dialog("Addons:Install", 50000);
 
@@ -136,16 +137,17 @@ function test_xpinstall_disabled() {
   // Try installation again - this time we'll get an install has been disabled
   // message.
   click_install_link_and_wait_for_alert("installlink");
 
   // tell it to enable installation!
   click_notification_box_action_in_current_tab();
 }
 
+test_xpinstall_actually_install.__force_skip__ = true; // disabled, see bug 1494215
 function test_xpinstall_actually_install() {
   click_install_link_and_wait_for_alert("installlink");
 
   // which we want to click on!
   plan_for_modal_dialog("Addons:Install", accept_xpinstall_dialog);
   // and this time we get an alert as well.
   AlertWatcher.planForAlert(mc);
   click_notification_box_action_in_current_tab();