Bug 1488176 - Disable failing test in a way that doesn't make it worse; rs=bustage-fix
authorGeoff Lankow <geoff@darktrojan.net>
Mon, 14 Jan 2019 19:44:56 +1300
changeset 34190 00d6b98310b363a073cdbf6995a3564e9a40e2bc
parent 34189 4954bbdf8fc67c79014cabfec17d5ee3d9bf9cd9
child 34191 ec1e8d9385524a2b36a4fec23528310d505388e3
push id389
push userclokep@gmail.com
push dateMon, 18 Mar 2019 19:01:53 +0000
reviewersbustage-fix
bugs1488176
Bug 1488176 - Disable failing test in a way that doesn't make it worse; rs=bustage-fix
mail/components/extensions/test/xpcshell/test_ext_accounts.js
--- a/mail/components/extensions/test/xpcshell/test_ext_accounts.js
+++ b/mail/components/extensions/test/xpcshell/test_ext_accounts.js
@@ -86,29 +86,32 @@ add_task(async function test_accounts() 
 
       let result3 = await browser.accounts.get(account1Id);
       assertDeepEqual(result1[0], result3);
       let result4 = await browser.accounts.get(account2Id);
       assertDeepEqual(result2[1], result4);
 
       await awaitMessage("create folders");
       let result5 = await browser.accounts.get(account1Id);
+      let platformInfo = await browser.runtime.getPlatformInfo();
       assertDeepEqual([{
           accountId: account1Id,
           name: "Trash",
           path: "/Trash",
         }, {
           accountId: account1Id,
           name: "foo bar",
           path: "/Trash/foo bar",
         }, {
-        //   accountId: account1Id,
-        //   name: "Ϟ",
-        //   path: "/Trash/Ϟ",
-        // }, {
+          accountId: account1Id,
+          name: "Ϟ",
+          // This character is not supported on Windows, so it gets hashed,
+          // by NS_MsgHashIfNecessary.
+          path: platformInfo.os == "win" ? "/Trash/b52bc214" : "/Trash/Ϟ",
+        }, {
           accountId: account1Id,
           name: "Outbox",
           path: "/Unsent Messages",
         }], result5.folders);
 
       browser.test.notifyPass("finished");
     },
     manifest: {