|
1 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
4 |
|
5 var setupModule = function(module) { |
|
6 module.controller = mozmill.getBrowserController(); |
|
7 }; |
|
8 |
|
9 var testGetNode = function() { |
|
10 controller.open("about:support"); |
|
11 controller.waitForPageLoad(); |
|
12 |
|
13 var appbox = findElement.ID(controller.tabs.activeTab, "application-box"); |
|
14 assert.waitFor(() => appbox.getNode().textContent == 'Firefox', 'correct app name'); |
|
15 }; |