summaryrefslogtreecommitdiffstats
path: root/services/sync/tests/tps/mozmill_sanity2.js
blob: f0fd0e3d5df53582013693476f3dc619b71ec60c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* 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/. */

var setupModule = function(module) {
  module.controller = mozmill.getBrowserController();
};

var testGetNode = function() {
  controller.open("about:support");
  controller.waitForPageLoad();

  var appbox = findElement.ID(controller.tabs.activeTab, "application-box");
  assert.waitFor(() => appbox.getNode().textContent == 'Firefox', 'correct app name');
};