try: -b do -p win64,macosx64-shippable -u mozmill-1proc --artifact draft
authorGeoff Lankow <geoff@darktrojan.net>
Mon, 19 Aug 2019 21:28:33 +1200
changeset 77556 3739dd89f59d7ec6bb2e4c8ee9e9e06059bfdbd3
parent 77533 0e7bfdf1b900996b521a97ee6313eb5a135703de
push id9119
push usergeoff@darktrojan.net
push dateMon, 19 Aug 2019 09:29:17 +0000
treeherdertry-comm-central@3739dd89f59d [default view] [failures only]
try: -b do -p win64,macosx64-shippable -u mozmill-1proc --artifact
mail/test/mozmill/folder-display/test-selection.js
mail/test/mozmill/runtest.py
--- a/mail/test/mozmill/folder-display/test-selection.js
+++ b/mail/test/mozmill/folder-display/test-selection.js
@@ -148,18 +148,20 @@ function test_enter_scroll_to_new() {
   // be in the folder
   be_in_folder(folder);
   // make sure the sort is ascending...
   mc.folderDisplay.view.sortAscending();
   // leave the folder so that the messages get marked as read
   enter_folder(folder.rootFolder);
   // add a new message, and make sure it is new
   make_new_sets_in_folder(folder, [{count: 1}]);
+  mc.sleep(2000);
   // enter the folder
   enter_folder(folder);
+  mc.sleep(2000);
   // make sure it (which must be the last row) is visible
   assert_visible(-1);
 }
 
 /**
  * Test that the last selected message persists through folder changes.
  */
 function test_selection_persists_through_folder_changes() {
--- a/mail/test/mozmill/runtest.py
+++ b/mail/test/mozmill/runtest.py
@@ -41,17 +41,17 @@ WRAPPER_MODULE_NAME = "wrapper"
 # semblance of modularity.
 wrapper = None
 
 # Shall we print out a big blob of base64 to allow post-processors to print out
 # a screenshot at the time the failure happened?
 USE_RICH_FAILURES = False
 
 # Save screenshots of failures, so they can be uploaded as a TaskCluster artifact?
-UPLOAD_SCREENSHOTS = False
+UPLOAD_SCREENSHOTS = True
 
 
 # We need this because rmtree-ing read-only files fails on Windows
 def rmtree_onerror(func, path, exc_info):
     """
     Error handler for ``shutil.rmtree``.
 
     If the error is due to an access error (read only file)