forked from mirrors/gecko-dev
		
	 1f830c96da
			
		
	
	
		1f830c96da
		
	
	
	
	
		
			
			# ignore-this-changeset Differential Revision: https://phabricator.services.mozilla.com/D36042 --HG-- extra : source : d3afcafdce650a6f36cebbc126ee93b17f13cf52
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			729 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			729 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| /* 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();
 | |
| });
 |