Update the license headers throughout the repository to reference Google LLC rather than Google Inc, for the required license headers. PR Close #37205
		
			
				
	
	
		
			33 lines
		
	
	
		
			966 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			966 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
/**
 | 
						|
 * @license
 | 
						|
 * Copyright Google LLC All Rights Reserved.
 | 
						|
 *
 | 
						|
 * Use of this source code is governed by an MIT-style license that can be
 | 
						|
 * found in the LICENSE file at https://angular.io/license
 | 
						|
 */
 | 
						|
 | 
						|
import {$, browser, by, element, ExpectedConditions} from 'protractor';
 | 
						|
 | 
						|
import {verifyNoBrowserErrors} from '../../../../test-utils';
 | 
						|
 | 
						|
function waitForElement(selector: string) {
 | 
						|
  const EC = ExpectedConditions;
 | 
						|
  // Waits for the element with id 'abc' to be present on the dom.
 | 
						|
  browser.wait(EC.presenceOf($(selector)), 20000);
 | 
						|
}
 | 
						|
 | 
						|
describe('ngTemplateOutlet', () => {
 | 
						|
  const URL = '/ngTemplateOutlet';
 | 
						|
  afterEach(verifyNoBrowserErrors);
 | 
						|
 | 
						|
  describe('ng-template-outlet-example', () => {
 | 
						|
    it('should render', () => {
 | 
						|
      browser.get(URL);
 | 
						|
      waitForElement('ng-template-outlet-example');
 | 
						|
      expect(element.all(by.css('ng-template-outlet-example span')).getText()).toEqual([
 | 
						|
        'Hello', 'Hello World!', 'Ahoj Svet!'
 | 
						|
      ]);
 | 
						|
    });
 | 
						|
  });
 | 
						|
});
 |