diff --git a/mail/test/browser/newmailaccount/browser_newmailaccount.js b/mail/test/browser/newmailaccount/browser_newmailaccount.js index d303cbc8e2..9141885f15 100644 --- a/mail/test/browser/newmailaccount/browser_newmailaccount.js +++ b/mail/test/browser/newmailaccount/browser_newmailaccount.js @@ -256,7 +256,7 @@ add_task(async function test_account_creation_from_provisioner() { await BrowserTestUtils.waitForCondition( () => mc.tabmail.selectedTab.browser.contentWindow.gAccountSetup - ._currentModename == "success", + ?._currentModename == "success", "The success view was shown" );