Bug 1521016 - Disable failing subtests of folder-display/test-columns.js. rs=bustage-fix
authorJorg K <jorgk@jorgk.com>
Fri, 18 Jan 2019 09:19:11 +0100
changeset 34234 11acf228786f72b54f0f6715d6b82b02b5d3bde9
parent 34233 d82803b48feb33e6f41cb1d5cb36e56b91a13c7d
child 34235 f82d110b04f85d27caa5d1ec54357bd22e4f8db3
push id389
push userclokep@gmail.com
push dateMon, 18 Mar 2019 19:01:53 +0000
reviewersbustage-fix
bugs1521016
Bug 1521016 - Disable failing subtests of folder-display/test-columns.js. rs=bustage-fix
mail/test/mozmill/folder-display/test-columns.js
--- a/mail/test/mozmill/folder-display/test-columns.js
+++ b/mail/test/mozmill/folder-display/test-columns.js
@@ -361,17 +361,17 @@ function invoke_column_picker_option(aAc
   mc.click_menus_in_sequence(colPickerPopup, aActions);
 }
 
 
 /**
  * The column picker's "reset columns to default" option should set our state
  *  back to inbox state.
  */
-function test_reset_to_inbox() {
+function disabled_test_reset_to_inbox() {
   // create the source
   folderSource = create_folder("ColumnsApplySource");
   // it better have INBOX defaults
   assert_visible_columns(INBOX_DEFAULTS);
 
   // permute them
   let conExtra = INBOX_DEFAULTS.concat(["sizeCol"]);
   show_column("sizeCol");
@@ -400,17 +400,17 @@ function _apply_to_folder_common(aChildr
   if (aChildrenToo)
     wait_for_observable_event("msg-folder-columns-propagated");
 }
 
 /**
  * Change settings in a folder, apply them to another folder that also has
  *  children.  Make sure the folder changes but the children do not.
  */
-function test_apply_to_folder_no_children() {
+function disabled_test_apply_to_folder_no_children() {
   folderParent = create_folder("ColumnsApplyParent");
   folderParent.createSubfolder("Child1", null);
   folderChild1 = folderParent.getChildNamed("Child1");
   folderParent.createSubfolder("Child2", null);
   folderChild2 = folderParent.getChildNamed("Child2");
 
   be_in_folder(folderSource);
 
@@ -435,17 +435,17 @@ function test_apply_to_folder_no_childre
   be_in_folder(folderChild2);
   assert_visible_columns(INBOX_DEFAULTS);
 }
 
 /**
  * Change settings in a folder, apply them to another folder and its children.
  *  Make sure the folder and its children change.
  */
-function test_apply_to_folder_and_children() {
+function disabled_test_apply_to_folder_and_children() {
   // no need to throttle ourselves during testing.
   MailUtils.INTER_FOLDER_PROCESSING_DELAY_MS = 0;
 
   be_in_folder(folderSource);
 
   // reset!
   invoke_column_picker_option([{anonid: "reset"}]);
 
@@ -460,23 +460,23 @@ function test_apply_to_folder_and_childr
   // make sure it copied to the parent and his children
   be_in_folder(folderParent);
   assert_visible_columns(conExtra);
   be_in_folder(folderChild1);
   assert_visible_columns(conExtra);
   be_in_folder(folderChild2);
   assert_visible_columns(conExtra);
 }
-test_apply_to_folder_and_children.EXCLUDED_PLATFORMS = ['linux'];  // See bug 1406717.
+disabled_test_apply_to_folder_and_children.EXCLUDED_PLATFORMS = ['linux'];  // See bug 1406717.
 
 /**
  * Change settings in an incoming folder, apply them to an outgoing folder that
  * also has children. Make sure the folder changes but the children do not.
  */
-function test_apply_to_folder_no_children_swapped() {
+function disabled_test_apply_to_folder_no_children_swapped() {
   folderParent = create_folder("ColumnsApplyParentOutgoing");
   folderParent.setFlag(Ci.nsMsgFolderFlags.SentMail);
   folderParent.createSubfolder("Child1", null);
   folderChild1 = folderParent.getChildNamed("Child1");
   folderParent.createSubfolder("Child2", null);
   folderChild2 = folderParent.getChildNamed("Child2");
 
   be_in_folder(folderSource);
@@ -507,23 +507,23 @@ function test_apply_to_folder_no_childre
   assert_visible_columns(conExtraSwapped);
 
   // But not the children.
   be_in_folder(folderChild1);
   assert_visible_columns(SENT_DEFAULTS);
   be_in_folder(folderChild2);
   assert_visible_columns(SENT_DEFAULTS);
 }
-test_apply_to_folder_no_children_swapped.EXCLUDED_PLATFORMS = ['linux'];  // See bug 1406717.
+disabled_test_apply_to_folder_no_children_swapped.EXCLUDED_PLATFORMS = ['linux'];  // See bug 1406717.
 
 /**
  * Change settings in an incoming folder, apply them to an outgoing folder and
  * its children. Make sure the folder and its children change.
  */
-function test_apply_to_folder_and_children_swapped() {
+function disabled_test_apply_to_folder_and_children_swapped() {
   // No need to throttle ourselves during testing.
   MailUtils.INTER_FOLDER_PROCESSING_DELAY_MS = 0;
 
   be_in_folder(folderSource);
 
   // reset!
   invoke_column_picker_option([{anonid: "reset"}]);
 
@@ -548,17 +548,17 @@ function test_apply_to_folder_and_childr
   conExtraSwapped[5] = useCorrespondent ? "recipientCol" : "correspondentCol";
   be_in_folder(folderParent);
   assert_visible_columns(conExtraSwapped);
   be_in_folder(folderChild1);
   assert_visible_columns(conExtraSwapped);
   be_in_folder(folderChild2);
   assert_visible_columns(conExtraSwapped);
 }
-test_apply_to_folder_and_children_swapped.EXCLUDED_PLATFORMS = ['linux'];  // See bug 1406717.
+disabled_test_apply_to_folder_and_children_swapped.EXCLUDED_PLATFORMS = ['linux'];  // See bug 1406717.
 
 
 /**
  * Create a fake gloda collection.
  */
 function FakeCollection() {
   this.items = [];
 }
@@ -600,17 +600,17 @@ function test_persist_columns_gloda_coll
   glodaColumns = GLODA_DEFAULTS.slice(0, -1);
   glodaColumns.push("accountCol");
 
   mc.tabmail.openTab("glodaList", { collection: fakeCollection });
   wait_for_all_messages_to_load();
   assert_visible_columns(glodaColumns);
 }
 
-function test_reset_columns_gloda_collection() {
+function disabled_test_reset_columns_gloda_collection() {
   let fakeCollection = new FakeCollection();
   mc.tabmail.openTab("glodaList", { collection: fakeCollection });
   wait_for_all_messages_to_load();
   assert_visible_columns(glodaColumns);
 
   invoke_column_picker_option([{anonid: "reset"}]);
   assert_visible_columns(GLODA_DEFAULTS);