diff options
Diffstat (limited to 'comm/mail/test/browser/startup-firstrun/browser_menubarCollapsed.js')
-rw-r--r-- | comm/mail/test/browser/startup-firstrun/browser_menubarCollapsed.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/comm/mail/test/browser/startup-firstrun/browser_menubarCollapsed.js b/comm/mail/test/browser/startup-firstrun/browser_menubarCollapsed.js new file mode 100644 index 0000000000..83c321188e --- /dev/null +++ b/comm/mail/test/browser/startup-firstrun/browser_menubarCollapsed.js @@ -0,0 +1,19 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +/** + * Tests that the main menu will be collapsed by default if Thunderbird starts + * with no accounts created. + */ + +"use strict"; + +add_task(function test_main_menu_collapsed() { + let mainMenu = document.getElementById("toolbar-menubar"); + Assert.equal( + mainMenu.getAttribute("autohide"), + "true", + "The main menu should have the autohide attribute set to true." + ); +}); |