services/sync/tests/tps/mozmill_sanity2.js

branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
equal deleted inserted replaced
-1:000000000000 0:0a2ac26e7caa
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 };

mercurial