blob: f36b55032d80844f3c7ae2bf4d026419201717e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/* 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/. */
"use strict";
add_task(async function check_tooltips_in_navbar() {
await startCustomizing();
let homeButtonWrapper = document.getElementById("wrapper-home-button");
let homeButton = document.getElementById("home-button");
is(
homeButtonWrapper.getAttribute("tooltiptext"),
homeButton.getAttribute("label"),
"the wrapper's tooltip should match the button's label"
);
ok(
homeButtonWrapper.getAttribute("tooltiptext"),
"the button should have tooltip text"
);
await endCustomizing();
});
|